summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/w58.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/warnings/w58.ml')
-rw-r--r--testsuite/tests/warnings/w58.ml35
1 files changed, 17 insertions, 18 deletions
diff --git a/testsuite/tests/warnings/w58.ml b/testsuite/tests/warnings/w58.ml
index cb8ab6194e..401ddf12c8 100644
--- a/testsuite/tests/warnings/w58.ml
+++ b/testsuite/tests/warnings/w58.ml
@@ -1,22 +1,21 @@
(* TEST
-
-flags = "-w +A-70"
-readonly_files = "module_without_cmx.mli"
-
-* setup-ocamlc.byte-build-env
-** ocamlc.byte
-module = "module_without_cmx.mli"
-*** ocamlc.byte
-module = "w58.ml"
-**** check-ocamlc.byte-output
-
-* setup-ocamlopt.byte-build-env
-** ocamlopt.byte
-module = "module_without_cmx.mli"
-*** ocamlopt.byte
-module = "w58.ml"
-**** check-ocamlopt.byte-output
-
+ flags = "-w +A-70";
+ readonly_files = "module_without_cmx.mli";
+ {
+ setup-ocamlc.byte-build-env;
+ module = "module_without_cmx.mli";
+ ocamlc.byte;
+ module = "w58.ml";
+ ocamlc.byte;
+ check-ocamlc.byte-output;
+ }{
+ setup-ocamlopt.byte-build-env;
+ module = "module_without_cmx.mli";
+ ocamlopt.byte;
+ module = "w58.ml";
+ ocamlopt.byte;
+ check-ocamlopt.byte-output;
+ }
*)
let () = print_endline (Module_without_cmx.id "Hello World")