Skip to content

Commit c64943a

Browse files
authored
Disable two tests on arm64 (#2448)
* Restrict typing-layouts-err-msg/probe.ml to amd64 * Restrict unboxed-primitive-args test to amd64
1 parent cb0c14c commit c64943a

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.vscode/settings.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"*.mlp": "ocaml",
88
"smmintrin.h": "c",
99
"tmmintrin.h": "c",
10-
"pmmintrin.h": "c"
10+
"pmmintrin.h": "c",
11+
"*.tbl": "c"
1112
}
12-
}
13+
}

ocaml/testsuite/tests/typing-layouts-err-msg/probe.ml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(* TEST
22
setup-ocamlopt.opt-build-env;
3+
arch_amd64;
34
flags = "-extension layouts_alpha";
45
compiler_reference2 = "${test_source_directory}/probe.reference";
56
ocamlopt_opt_exit_status = "2";
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
File "probe.ml", line 12, characters 6-7:
2-
12 | let f () = x in
1+
File "probe.ml", line 13, characters 6-7:
2+
13 | let f () = x in
33
^
44
Warning 26 [unused-var]: unused variable f.
55

6-
File "probe.ml", lines 11-14, characters 20-2:
7-
11 | ....................[%probe "a" (
8-
12 | let f () = x in
9-
13 | ()
10-
14 | )]
6+
File "probe.ml", lines 12-15, characters 20-2:
7+
12 | ....................[%probe "a" (
8+
13 | let f () = x in
9+
14 | ()
10+
15 | )]
1111
Error: Variables in probe handlers must have jkind value, but x in this handler does not.

testsuite/tests/unboxed-primitive-args/test.ml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(* TEST
22
readonly_files = "common.mli common.ml test_common.c test_common.h";
33
flambda2;
4+
arch_amd64;
45
setup-ocamlopt.opt-build-env;
56
test_file = "${test_source_directory}/gen_test.ml";
67
ocaml_script_as_argument = "true";

0 commit comments

Comments
 (0)