diff --git a/vlib/v/gen/js/program_test.v b/vlib/v/gen/js/program_test.v index 7c8125b0f6..bf4c2f37a2 100644 --- a/vlib/v/gen/js/program_test.v +++ b/vlib/v/gen/js/program_test.v @@ -1,3 +1,5 @@ +// vtest flaky: true +// vtest retry: 4 import os import term import rand @@ -10,6 +12,8 @@ const vroot = @VMODROOT const diff_cmd = find_diff_cmd() +const github_job = os.getenv('GITHUB_JOB') + fn find_diff_cmd() string { return diff.find_working_diff_command() or { '' } } @@ -33,6 +37,9 @@ fn test_node_exists() { exit_because('node should be at least version 10, but is currently version: ${version}') } println('Using node version: ${version}') + // if github_job != '' && os.user_os() == 'macos' { + // exit_because('program_test.v is flaky on macos') + //} } fn test_running_programs_compiled_with_the_js_backend() {