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