Skip to content

Commit dd69ba4

Browse files
authored
Fix unboxed primitives test (#1642)
1 parent 83fa0b2 commit dd69ba4

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type native_repr =
1414
| Unboxed_vector of boxed_vector
1515

1616
(* Generate primitives with up to this number of arguments *)
17-
let test_all_combination_up_to_n_args = 6
17+
let test_all_combination_up_to_n_args = 5
1818

1919
(* Generate primitives using all combination of these argument
2020
representations. No need to test all combination of other

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@ compiler_output = "stubs.c"
1111
*** ocaml
1212
arguments = "ml"
1313
compiler_output = "main.ml"
14-
**** script
15-
script = "${cc} -msse4.2 -c test_common.c -I ../../../../../../../../runtime"
16-
***** script
17-
script = "${cc} -msse4.2 -c stubs.c -I ../../../../../../../../runtime"
18-
****** ocamlopt.opt
19-
ocamlopt_flags = "-extension simd"
20-
all_modules = "test_common.o stubs.o common.mli common.ml main.ml"
21-
******* run
22-
******** check-program-output
14+
**** ocamlopt.opt
15+
ocamlopt_flags = "-extension simd -cc '${cc} -msse4.2'"
16+
all_modules = "test_common.c stubs.c common.mli common.ml main.ml"
17+
***** run
18+
****** check-program-output
2319
2420
*)

0 commit comments

Comments
 (0)