Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem arg: -rresultDir #164

Open
ssemichev opened this issue Jun 21, 2016 · 1 comment
Open

Problem arg: -rresultDir #164

ssemichev opened this issue Jun 21, 2016 · 1 comment

Comments

@ssemichev
Copy link

I am trying to setup the resultDir argument and getting the error "Problem arg: -rresultDir"
Version: 0.8-SNAPSHOT

sbt> bench:test-only exercises.SimpleBenchmark -- -CresultDir tmp1

error java.lang.IllegalArgumentException: Invalid configuration option: r
[error] Problem arg: -rresultDir

It doesn't work with -verbose argument also

sbt> bench:test-only exercises.SimpleLocalBenchmark -- -verbose

error java.lang.IllegalArgumentException: Argument unrecognized by ScalaTest's Runner: -verbose

@axel22
Copy link
Member

axel22 commented Jun 21, 2016

As far as I know, this is an sbt problem. Sbt passes all the test options to all the test frameworks used in the project, and Scalatest breaks with verbose.

I suggest that you try setting these options with the config block.

On June 21, 2016 5:46:03 AM GMT+02:00, Sergey Semichev notifications@github.com wrote:

I am trying to setup the resultDir argument and getting the error
"Problem arg: -rresultDir"
Version: 0.8-SNAPSHOT

sbt> bench:test-only exercises.SimpleBenchmark -- -CresultDir tmp1

error java.lang.IllegalArgumentException:
Invalid configuration option: r
[error] Problem arg: -rresultDir

It doesn't work with -verbose argument also

sbt> bench:test-only exercises.SimpleLocalBenchmark -- -verbose

error java.lang.IllegalArgumentException:
Argument unrecognized by ScalaTest's Runner: -verbose


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#164

Sent from my Android device with K-9 Mail. Please excuse my brevity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants