mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
checker: bugfix for __global ( cpu_get_id fn () u64 ) ... cpu_get_id()
Support new vlib/v/checker/tests/globals_run/ folder, for .vv files that will be run with `-enable-globals run`, and the results will be compared with their matching `.run.out` files. Add regression tests.
This commit is contained in:
parent
6890756cd2
commit
19dca026a9
7 changed files with 80 additions and 2 deletions
10
TESTS.md
10
TESTS.md
|
@ -80,8 +80,14 @@ Run `vlib` module tests, *including* the compiler tests.
|
|||
## `v vlib/v/compiler_errors_test.v`
|
||||
|
||||
This runs tests for:
|
||||
* `checker/tests/*.vv`
|
||||
* `parser/tests/*.vv`
|
||||
* `vlib/v/checker/tests/*.vv`
|
||||
* `vlib/v/parser/tests/*.vv`
|
||||
|
||||
### Special folders that compiler_errors_test.v will try to
|
||||
run/compile with specific options:
|
||||
|
||||
vlib/v/checker/tests/globals_run/ - `-enable-globals run`;
|
||||
results stored in `.run.out` files, matching the .vv ones.
|
||||
|
||||
## `v test-all`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue