mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42: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() {
|
fn test_for_c_in_string() {
|
||||||
$if windows {
|
$if windows {
|
||||||
println('0')
|
println('0')
|
||||||
|
@ -17,7 +16,8 @@ fn test_for_c_in_string() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_c_extern_vars() {
|
fn test_c_extern_vars() {
|
||||||
C.fprintf(C.stdout, 'abc'.str, 3)
|
s := 'abc\n'
|
||||||
|
C.fprintf(C.stdout, s.str, 3)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -56,14 +56,14 @@ fn test_native() {
|
||||||
assert false
|
assert false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
skip_vv := os.getenv('VNATIVE_SKIP_LIBC_VV') != ''
|
||||||
|
|
||||||
bench.set_total_expected_steps(tests.len)
|
bench.set_total_expected_steps(tests.len)
|
||||||
for test in tests {
|
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
|
// 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')
|
||||||
println('>>> SKIPPING ${test} since VNATIVE_SKIP_LIBC_VV is defined')
|
continue
|
||||||
continue
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if test == 'fibonacci_native.vv' || test.contains('linux') {
|
if test == 'fibonacci_native.vv' || test.contains('linux') {
|
||||||
if user_os == 'windows' {
|
if user_os == 'windows' {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue