File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
-
2
1
fn test_for_c_in_string () {
3
2
$if windows {
4
3
println ('0' )
@@ -17,7 +16,8 @@ fn test_for_c_in_string() {
17
16
}
18
17
19
18
fn test_c_extern_vars () {
20
- C.fprintf(C.stdout, 'abc'.str, 3)
19
+ s := 'abc\n '
20
+ C.fprintf (C.stdout, s.str, 3 )
21
21
}
22
22
23
23
fn main () {
Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ fn test_native() {
56
56
assert false
57
57
}
58
58
59
+ skip_vv := os.getenv ('VNATIVE_SKIP_LIBC_VV' ) != ''
60
+
59
61
bench.set_total_expected_steps (tests.len)
60
62
for test in tests {
61
- if test == 'libc.vv' {
63
+ if skip_vv && test in [ 'libc.vv' , 'linux.vv' ] {
62
64
// TODO: remove the skip here, when the native backend is more advanced
63
- if os.getenv ('VNATIVE_SKIP_LIBC_VV' ) != '' {
64
- println ('>>> SKIPPING ${test} since VNATIVE_SKIP_LIBC_VV is defined' )
65
- continue
66
- }
65
+ println ('>>> SKIPPING ${test} since VNATIVE_SKIP_LIBC_VV is defined' )
66
+ continue
67
67
}
68
68
if test == 'fibonacci_native.vv' || test.contains ('linux' ) {
69
69
if user_os == 'windows' {
You can’t perform that action at this time.
0 commit comments