From ed6fc79fbe55ed6c7fedcee6d51bd5094f8f5c36 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 5 Feb 2021 20:03:16 +0200 Subject: [PATCH] ci: run the -skip-unused tests on linux (so local testing is easier) --- vlib/v/compiler_errors_test.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/v/compiler_errors_test.v b/vlib/v/compiler_errors_test.v index a42a9660ae..2d7f5d69de 100644 --- a/vlib/v/compiler_errors_test.v +++ b/vlib/v/compiler_errors_test.v @@ -86,10 +86,10 @@ fn test_all() { tasks.add('', module_dir, '-prod run', '.out', module_tests, true) tasks.add('', run_dir, 'run', '.run.out', run_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', skip_unused_dir_tests, false) - } + } tasks.run() if github_job == 'ubuntu-tcc' { // these should be run serially, since they depend on setting and using environment variables