File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ import benchmark
4
4
import term
5
5
6
6
const is_verbose = os.getenv ('VTEST_SHOW_CMD' ) != ''
7
+ const user_os = os.user_os ()
7
8
8
9
// TODO: some logic copy pasted from valgrind_test.v and compiler_test.v, move to a module
9
10
fn test_native () {
10
11
$if arm64 {
11
12
eprintln ('>> skipping testing on ARM for now' )
12
13
return
13
14
}
14
- $ if freebsd || openbsd {
15
+ if user_os in [ 'freebsd' , ' openbsd' ] {
15
16
eprintln ('>> skipping testing on FreeBSD/OpenBSD for now' )
16
17
return
17
18
}
@@ -29,7 +30,7 @@ fn test_native() {
29
30
}
30
31
31
32
os.chdir (wrkdir) or {}
32
- tests := files.filter (it .ends_with ('.vv' ))
33
+ tests := files.filter (it .ends_with ('.vv' )). sorted ()
33
34
if tests.len == 0 {
34
35
println ('no native tests found' )
35
36
assert false
@@ -44,6 +45,12 @@ fn test_native() {
44
45
continue
45
46
}
46
47
}
48
+ if test == 'fibonacci_native.vv' {
49
+ if user_os == 'windows' {
50
+ println ('>>> SKIPPING ${test} on windows for now' )
51
+ continue
52
+ }
53
+ }
47
54
48
55
bench.step ()
49
56
full_test_path := os.real_path (os.join_path (dir, test))
You can’t perform that action at this time.
0 commit comments