File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -13,23 +13,23 @@ pipeline:
1313 image : lampepfl/dotty:2017-09-08
1414 commands :
1515 - cp -R . /tmp/1/ && cd /tmp/1/
16- - ./project/scripts/sbt test
16+ - ./project/scripts/sbt testAll
1717 - ./project/scripts/sbt ";dotty-bench/jmh:run 1 1 tests/run/arrays.scala"
1818
1919 test_bootstrapped :
2020 group : test
2121 image : lampepfl/dotty:2017-09-08
2222 commands :
2323 - cp -R . /tmp/2/ && cd /tmp/2/
24- - ./project/scripts/sbt dotty-bootstrapped/test
24+ - ./project/scripts/sbt dotty-bootstrapped/testAll
2525 - ./project/scripts/sbt ";dotty-bench-bootstrapped/jmh:run 1 1 tests/run/arrays.scala"
2626
2727 test_optimised :
2828 group : test
2929 image : lampepfl/dotty:2017-09-08
3030 commands :
3131 - cp -R . /tmp/3/ && cd /tmp/3/
32- - ./project/scripts/sbt dotty-optimised/test
32+ - ./project/scripts/sbt dotty-optimised/testAll
3333
3434 test_sbt :
3535 group : test
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ object Build {
7676 // Run tests with filter through vulpix test suite
7777 lazy val vulpix = inputKey[Unit ](" runs integration test with the supplied filter" )
7878
79+ // Run all tests including tests marked with SlowTests
80+ lazy val testAll = inputKey[Unit ](" runs all tests including SlowTests" )
81+
7982 // Used to compile files similar to ./bin/dotc script
8083 lazy val dotc =
8184 inputKey[Unit ](" run the compiler using the correct classpath, or the user supplied classpath" )
@@ -468,6 +471,11 @@ object Build {
468471 (testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception,dotty.tools.dotc.SlowTests" ).value
469472 },
470473
474+ testAll in Test := {
475+ // Exclude legacy tests by default
476+ (testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception" ).value
477+ },
478+
471479 vulpix := Def .inputTaskDyn {
472480 val args : Seq [String ] = spaceDelimited(" <arg>" ).parsed
473481 val cmd = " dotty.tools.dotc.CompilationTests -- --exclude-categories=dotty.tools.dotc.SlowTests" + {
You can’t perform that action at this time.
0 commit comments