native: skip linux.vv too, for the sanitized jobs (similar to libc.vv)

This commit is contained in:
Delyan Angelov 2025-06-10 08:48:47 +03:00
parent b421e67b06
commit 174065f16f
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
2 changed files with 7 additions and 7 deletions

View file

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

View file

@ -56,15 +56,15 @@ 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
}
}
if test == 'fibonacci_native.vv' || test.contains('linux') {
if user_os == 'windows' {
println('>>> SKIPPING ${test} on windows for now')