File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ import benchmark
44import term
55
66const is_verbose = os.getenv ('VTEST_SHOW_CMD' ) != ''
7+ const user_os = os.user_os ()
78
89// TODO: some logic copy pasted from valgrind_test.v and compiler_test.v, move to a module
910fn test_native () {
1011 $if arm64 {
1112 eprintln ('>> skipping testing on ARM for now' )
1213 return
1314 }
14- $ if freebsd || openbsd {
15+ if user_os in [ 'freebsd' , ' openbsd' ] {
1516 eprintln ('>> skipping testing on FreeBSD/OpenBSD for now' )
1617 return
1718 }
@@ -29,7 +30,7 @@ fn test_native() {
2930 }
3031
3132 os.chdir (wrkdir) or {}
32- tests := files.filter (it .ends_with ('.vv' ))
33+ tests := files.filter (it .ends_with ('.vv' )). sorted ()
3334 if tests.len == 0 {
3435 println ('no native tests found' )
3536 assert false
@@ -44,6 +45,12 @@ fn test_native() {
4445 continue
4546 }
4647 }
48+ if test == 'fibonacci_native.vv' {
49+ if user_os == 'windows' {
50+ println ('>>> SKIPPING ${test } on windows for now' )
51+ continue
52+ }
53+ }
4754
4855 bench.step ()
4956 full_test_path := os.real_path (os.join_path (dir, test))
You can’t perform that action at this time.
0 commit comments