Skip to content
Snippets Groups Projects
Commit b2c5feef authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Fix test options

parent 59742127
No related branches found
No related tags found
No related merge requests found
...@@ -102,9 +102,11 @@ testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework") ...@@ -102,9 +102,11 @@ testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")
parallelExecution in Test := false parallelExecution in Test := false
testOptions in (Test, test) := Seq(Tests.Filter(s => s.endsWith("LeonAllTests")), Tests.Argument(TestFrameworks.ScalaCheck, "-oDF")) parallelExecution in (Test, testOnly) := false
testOptions in (Test, testOnly) := Seq(Tests.Argument(TestFrameworks.ScalaCheck, "-oDF")) testOptions in (Test, test) := Seq(Tests.Filter(s => s.endsWith("LeonAllTests")), Tests.Argument(TestFrameworks.ScalaTest, "-oDF"))
testOptions in (Test, testOnly) := Seq(Tests.Argument(TestFrameworks.ScalaTest, "-oDF"))
sourcesInBase in Compile := false sourcesInBase in Compile := false
......
...@@ -272,7 +272,7 @@ class CodeGenSuite extends test.LeonTestSuite { ...@@ -272,7 +272,7 @@ class CodeGenSuite extends test.LeonTestSuite {
case class Conc() extends Ab { } case class Conc() extends Ab { }
def test = { val willNotLoop = Conc(); 42 } def test = { val willNotLoop = Conc(); 42 }
} }
object list { object ListWithSize {
abstract class List[T] { abstract class List[T] {
val length : Int = this match { val length : Int = this match {
case Nil() => 0 case Nil() => 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment