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-
21fn test_for_c_in_string() {
32 $if windows {
43 println('0')
@@ -17,7 +16,8 @@ fn test_for_c_in_string() {
1716}
1817
1918fn test_c_extern_vars() {
20- C.fprintf(C.stdout, 'abc'.str, 3)
19+ s := 'abc\n'
20+ C.fprintf(C.stdout, s.str, 3)
2121}
2222
2323fn main() {
Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ fn test_native() {
5656 assert false
5757 }
5858
59+ skip_vv := os.getenv ('VNATIVE_SKIP_LIBC_VV' ) != ''
60+
5961 bench.set_total_expected_steps (tests.len)
6062 for test in tests {
61- if test == 'libc.vv' {
63+ if skip_vv && test in [ 'libc.vv' , 'linux.vv' ] {
6264 // 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
6767 }
6868 if test == 'fibonacci_native.vv' || test.contains ('linux' ) {
6969 if user_os == 'windows' {
You can’t perform that action at this time.
0 commit comments