1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: support VTEST_ONLY_FN=*test_sincos* ./v test . and ./v test -run-only test_sin .

This commit is contained in:
Delyan Angelov
2021-12-20 17:22:02 +02:00
parent 5f0160bf11
commit 68ada041e6
4 changed files with 117 additions and 15 deletions

View File

@ -19,6 +19,10 @@ pub const hide_oks = os.getenv('VTEST_HIDE_OK') == '1'
pub const fail_fast = os.getenv('VTEST_FAIL_FAST') == '1'
pub const test_only = os.getenv('VTEST_ONLY').split_any(',')
pub const test_only_fn = os.getenv('VTEST_ONLY_FN').split_any(',')
pub const is_node_present = os.execute('node --version').exit_code == 0
pub const all_processes = os.execute('ps ax').output.split_any('\r\n')