mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Refactor lit testing to generate per-file tests. (#1063)
This switches to generating per-file targets such as `//executable_semantics/testdata:tuple/equality_false.carbon.test`, instead of one test covering all files. Essentially this relies on bazel instead of lit to handle test parallelization.
This commit is contained in:
@@ -111,11 +111,7 @@ To explain this boilerplate:
|
||||
### Useful commands
|
||||
|
||||
- `./update_checks.py` -- Updates expected output.
|
||||
- `bazel test :executable_semantics_lit_test --test_output=errors` -- Runs
|
||||
tests and prints any errors.
|
||||
- `bazel test :executable_semantics_lit_test --test_output=errors --test_arg=--filter=basic_syntax/.*`
|
||||
-- Only runs tests in the `basic_syntax` directory; `--filter` is a regular
|
||||
expression.
|
||||
- `bazel test ... --test_output=errors` -- Runs tests and prints any errors.
|
||||
|
||||
## Experimental feature: Delimited Continuations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user