mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
native: skip linux.vv too, for the sanitized jobs (similar to libc.vv)
This commit is contained in:
parent
b421e67b06
commit
174065f16f
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
fn test_for_c_in_string() {
|
||||
$if windows {
|
||||
println('0')
|
||||
|
@ -17,7 +16,8 @@ fn test_for_c_in_string() {
|
|||
}
|
||||
|
||||
fn test_c_extern_vars() {
|
||||
C.fprintf(C.stdout, 'abc'.str, 3)
|
||||
s := 'abc\n'
|
||||
C.fprintf(C.stdout, s.str, 3)
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -56,14 +56,14 @@ fn test_native() {
|
|||
assert false
|
||||
}
|
||||
|
||||
skip_vv := os.getenv('VNATIVE_SKIP_LIBC_VV') != ''
|
||||
|
||||
bench.set_total_expected_steps(tests.len)
|
||||
for test in tests {
|
||||
if test == 'libc.vv' {
|
||||
if skip_vv && test in ['libc.vv', 'linux.vv'] {
|
||||
// TODO: remove the skip here, when the native backend is more advanced
|
||||
if os.getenv('VNATIVE_SKIP_LIBC_VV') != '' {
|
||||
println('>>> SKIPPING ${test} since VNATIVE_SKIP_LIBC_VV is defined')
|
||||
continue
|
||||
}
|
||||
println('>>> SKIPPING ${test} since VNATIVE_SKIP_LIBC_VV is defined')
|
||||
continue
|
||||
}
|
||||
if test == 'fibonacci_native.vv' || test.contains('linux') {
|
||||
if user_os == 'windows' {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue