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:
parent
125c571d4a
commit
ef59a72877
@ -1,3 +1,5 @@
|
|||||||
|
// vtest flaky: true
|
||||||
|
// vtest retry: 4
|
||||||
import os
|
import os
|
||||||
import term
|
import term
|
||||||
import rand
|
import rand
|
||||||
@ -10,6 +12,8 @@ const vroot = @VMODROOT
|
|||||||
|
|
||||||
const diff_cmd = find_diff_cmd()
|
const diff_cmd = find_diff_cmd()
|
||||||
|
|
||||||
|
const github_job = os.getenv('GITHUB_JOB')
|
||||||
|
|
||||||
fn find_diff_cmd() string {
|
fn find_diff_cmd() string {
|
||||||
return diff.find_working_diff_command() or { '' }
|
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}')
|
exit_because('node should be at least version 10, but is currently version: ${version}')
|
||||||
}
|
}
|
||||||
println('Using node 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() {
|
fn test_running_programs_compiled_with_the_js_backend() {
|
||||||
|
Loading…
Reference in New Issue
Block a user