Skip to content

Commit 686aa9a

Browse files
authored
flambda-backend: Disable two tests on arm64 (#2448)
* Restrict typing-layouts-err-msg/probe.ml to amd64 * Restrict unboxed-primitive-args test to amd64
1 parent 43c7d0f commit 686aa9a

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

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.

0 commit comments

Comments
 (0)