@@ -24,14 +24,14 @@ $ sbt
24
24
> dotty-compiler/test
25
25
```
26
26
27
- To run a single test class you use ` testOnly ` and the fully qualified class name.
27
+ To run a single test class you use ` testOnly ` and the fully qualified class name.
28
28
For example:
29
29
30
30
``` bash
31
31
> testOnly dotty.tools.dotc.transform.TreeTransformerTest
32
32
```
33
33
34
- The test command follows a regular expression-based syntax ` testOnly * -- * ` .
34
+ The test command follows a regular expression-based syntax ` testOnly * -- * ` .
35
35
The right-hand side picks a range of names for methods and the left-hand side picks a range of class names and their
36
36
fully-qualified paths.
37
37
@@ -58,13 +58,13 @@ You can also run all paths of classes of a certain name:
58
58
These tests are Scala source files expected to compile with Dotty (pos tests),
59
59
along with their expected output (run tests) or errors (neg tests).
60
60
61
- All of these tests are contained in the ` ./tests/* ` directories and can be run with the ` vulpix ` command.
61
+ All of these tests are contained in the ` ./tests/* ` directories and can be run with the ` testCompilation ` command.
62
62
63
63
Currently to run these tests you need to invoke from sbt:
64
64
65
65
``` bash
66
66
$ sbt
67
- > vulpix
67
+ > testCompilation
68
68
```
69
69
70
70
(which is effectively the same with ` testOnly dotty.tools.dotc.CompilationTests ` )
@@ -73,9 +73,9 @@ It is also possible to run tests filtered, again from sbt:
73
73
74
74
``` bash
75
75
$ sbt
76
- > vulpix i2147.scala
76
+ > testCompilation companions
77
77
```
78
78
79
- This will run both the test ` ./tests/pos/i2147 .scala ` and
80
- ` ./tests/partest-test/i2147 .scala ` since both of these match the given string.
81
- This also means that you could run ` vulpix ` with no arguments to run all integration tests.
79
+ This will run both the test ` ./tests/pos/companions .scala ` and
80
+ ` ./tests/neg/companions .scala ` since both of these match the given string.
81
+ This also means that you could run ` testCompilation ` with no arguments to run all integration tests.
0 commit comments