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

ci: mark vlib/v/gen/js/program_test.v as flaky (it is failing sporadically on macos, but only on the CI :-| )

This commit is contained in:
Delyan Angelov 2023-07-26 22:07:37 +03:00
parent 125c571d4a
commit ef59a72877
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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() {