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:
13
13
image : lampepfl/dotty:2017-09-08
14
14
commands :
15
15
- cp -R . /tmp/1/ && cd /tmp/1/
16
- - ./project/scripts/sbt test
16
+ - ./project/scripts/sbt testAll
17
17
- ./project/scripts/sbt ";dotty-bench/jmh:run 1 1 tests/run/arrays.scala"
18
18
19
19
test_bootstrapped :
20
20
group : test
21
21
image : lampepfl/dotty:2017-09-08
22
22
commands :
23
23
- cp -R . /tmp/2/ && cd /tmp/2/
24
- - ./project/scripts/sbt dotty-bootstrapped/test
24
+ - ./project/scripts/sbt dotty-bootstrapped/testAll
25
25
- ./project/scripts/sbt ";dotty-bench-bootstrapped/jmh:run 1 1 tests/run/arrays.scala"
26
26
27
27
test_optimised :
28
28
group : test
29
29
image : lampepfl/dotty:2017-09-08
30
30
commands :
31
31
- cp -R . /tmp/3/ && cd /tmp/3/
32
- - ./project/scripts/sbt dotty-optimised/test
32
+ - ./project/scripts/sbt dotty-optimised/testAll
33
33
34
34
test_sbt :
35
35
group : test
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ object Build {
76
76
// Run tests with filter through vulpix test suite
77
77
lazy val vulpix = inputKey[Unit ](" runs integration test with the supplied filter" )
78
78
79
+ // Run all tests including tests marked with SlowTests
80
+ lazy val testAll = inputKey[Unit ](" runs all tests including SlowTests" )
81
+
79
82
// Used to compile files similar to ./bin/dotc script
80
83
lazy val dotc =
81
84
inputKey[Unit ](" run the compiler using the correct classpath, or the user supplied classpath" )
@@ -468,6 +471,11 @@ object Build {
468
471
(testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception,dotty.tools.dotc.SlowTests" ).value
469
472
},
470
473
474
+ testAll in Test := {
475
+ // Exclude legacy tests by default
476
+ (testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception" ).value
477
+ },
478
+
471
479
vulpix := Def .inputTaskDyn {
472
480
val args : Seq [String ] = spaceDelimited(" <arg>" ).parsed
473
481
val cmd = " dotty.tools.dotc.CompilationTests -- --exclude-categories=dotty.tools.dotc.SlowTests" + {
You can’t perform that action at this time.
0 commit comments