Skip to content

Commit fb73f82

Browse files
committed
Move more tests to just flambda2
1 parent 5ab6863 commit fb73f82

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

ocaml/testsuite/tests/mixed-blocks/generate_mixed_blocks_code.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ let main n ~bytecode =
290290
let per_type f = List.iter named_blocks ~f in
291291
line {|(* TEST
292292
flags = "-extension layouts_alpha"
293-
* %s
294-
*)|} (if bytecode then "bytecode" else "native");
293+
%s
294+
*)|} (if bytecode then "* bytecode" else "* flambda2\n ** native");
295295
line "(** This is code generated by [generate_mixed_blocks_code.ml]. *)";
296296
line "";
297297
line "(* Helper functions for manipulating the fields of a mixed record *)";

ocaml/testsuite/tests/mixed-blocks/generated_byte_test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
flags = "-extension layouts_alpha"
3-
* bytecode
3+
* bytecode
44
*)
55
(** This is code generated by [generate_mixed_blocks_code.ml]. *)
66

ocaml/testsuite/tests/mixed-blocks/generated_native_test.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(* TEST
22
flags = "-extension layouts_alpha"
3-
* native
3+
* flambda2
4+
** native
45
*)
56
(** This is code generated by [generate_mixed_blocks_code.ml]. *)
67

ocaml/testsuite/tests/mixed-blocks/hash.ml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
program = "${test_build_directory}/hash.exe"
44
all_modules = "hash.ml"
55
6-
* setup-ocamlc.opt-build-env
7-
** ocamlc.opt
8-
*** run
9-
**** check-program-output
6+
* flambda2
7+
** setup-ocamlc.opt-build-env
8+
*** ocamlc.opt
9+
**** run
10+
***** check-program-output
1011
reference = "${test_source_directory}/hash.byte.reference"
11-
* setup-ocamlopt.opt-build-env
12-
** ocamlopt.opt
13-
*** run
14-
**** check-program-output
12+
** setup-ocamlopt.opt-build-env
13+
*** ocamlopt.opt
14+
**** run
15+
***** check-program-output
1516
reference = "${test_source_directory}/hash.native.reference"
1617
*)
1718

ocaml/testsuite/tests/mixed-blocks/recursive_mixed_blocks.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
(* TEST
22
flags = "-extension layouts_alpha"
3+
4+
* flambda2
5+
** native
6+
** bytecode
37
*)
48

59
type t = { t : t; flt : float# }

0 commit comments

Comments
 (0)