diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-30 15:52:17 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-30 17:42:15 +0200 |
commit | 29ff5ad791a19632a22eb8f4d520277fbbef3bfb (patch) | |
tree | d6a4a4980ffc6255e83fb1cec1f4677a8b7874db /docs/docs/contributing/workflow.md | |
parent | f49c10d1667de897b2073d9b15c7c6cb8cc52482 (diff) | |
download | dotty-29ff5ad791a19632a22eb8f4d520277fbbef3bfb.tar.gz dotty-29ff5ad791a19632a22eb8f4d520277fbbef3bfb.tar.bz2 dotty-29ff5ad791a19632a22eb8f4d520277fbbef3bfb.zip |
Add documentation for new parallel testing suite
Diffstat (limited to 'docs/docs/contributing/workflow.md')
-rw-r--r-- | docs/docs/contributing/workflow.md | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/docs/contributing/workflow.md b/docs/docs/contributing/workflow.md index 6e7f5b9a0..3c654e8f6 100644 --- a/docs/docs/contributing/workflow.md +++ b/docs/docs/contributing/workflow.md @@ -57,11 +57,21 @@ $ sbt To test a specific test tests/x/y.scala (for example tests/pos/t210.scala): ```bash -> partest-only-no-bootstrap --show-diff --verbose tests/partest-generated/x/y.scala +> filterTest .*pos/t210.scala ``` -Currently this will re-run some unit tests and do some preprocessing because of -the way partest has been set up. +The filterTest task takes a regular expression as its argument. For example, +you could run a negative and a positive test with: + +```bash +> filterTest (.*pos/t697.scala)|(.*neg/i2101.scala) +``` + +or if they have the same name, the equivalent can be achieved with: + +```bash +> filterTest .*/i2101.scala +``` ## Inspecting Trees with Type Stealer ## |