Skip to content

Commit

Permalink
ci: mark vlib/v/gen/js/program_test.v as flaky (it is failing sporadi…
Browse files Browse the repository at this point in the history
…cally on macos, but only on the CI :-| )
  • Loading branch information
spytheman committed Jul 26, 2023
1 parent 125c571 commit ef59a72
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vlib/v/gen/js/program_test.v
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// vtest flaky: true
// vtest retry: 4
import os
import term
import rand
Expand All @@ -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 { '' }
}
Expand All @@ -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() {
Expand Down

0 comments on commit ef59a72

Please sign in to comment.