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

ci: run the -skip-unused tests on linux (so local testing is easier)

This commit is contained in:
Delyan Angelov 2021-02-05 20:03:16 +02:00
parent 99822e51de
commit ed6fc79fbe
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -86,10 +86,10 @@ fn test_all() {
tasks.add('', module_dir, '-prod run', '.out', module_tests, true) tasks.add('', module_dir, '-prod run', '.out', module_tests, true)
tasks.add('', run_dir, 'run', '.run.out', run_tests, false) tasks.add('', run_dir, 'run', '.run.out', run_tests, false)
tasks.add('', skip_unused_dir, 'run', '.run.out', skip_unused_dir_tests, false) tasks.add('', skip_unused_dir, 'run', '.run.out', skip_unused_dir_tests, false)
if github_job.starts_with('ubuntu') { if os.user_os() == 'linux' {
tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out', tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out',
skip_unused_dir_tests, false) skip_unused_dir_tests, false)
} }
tasks.run() tasks.run()
if github_job == 'ubuntu-tcc' { if github_job == 'ubuntu-tcc' {
// these should be run serially, since they depend on setting and using environment variables // these should be run serially, since they depend on setting and using environment variables