summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-command-line/test-unknown-file.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/tool-command-line/test-unknown-file.ml')
-rw-r--r--testsuite/tests/tool-command-line/test-unknown-file.ml53
1 files changed, 26 insertions, 27 deletions
diff --git a/testsuite/tests/tool-command-line/test-unknown-file.ml b/testsuite/tests/tool-command-line/test-unknown-file.ml
index 148220e5ce..2d09383701 100644
--- a/testsuite/tests/tool-command-line/test-unknown-file.ml
+++ b/testsuite/tests/tool-command-line/test-unknown-file.ml
@@ -1,31 +1,30 @@
(* TEST
-
-readonly_files = "unknown-file"
-
-* setup-ocamlc.byte-build-env
-compiler_output = "compiler-output.raw"
-** ocamlc.byte
-all_modules = ""
-flags = "unknown-file"
-ocamlc_byte_exit_status = "2"
-*** script
-script = "grep 'know what to do with unknown-file' compiler-output.raw"
-output = "compiler-output"
-**** check-ocamlc.byte-output
-compiler_output = "compiler-output"
-
-* setup-ocamlopt.byte-build-env
-compiler_output = "compiler-output.raw"
-** ocamlopt.byte
-all_modules = ""
-flags = "unknown-file"
-ocamlopt_byte_exit_status = "2"
-*** script
-script = "grep 'know what to do with unknown-file' compiler-output.raw"
-output = "compiler-output"
-**** check-ocamlopt.byte-output
-compiler_output = "compiler-output"
-
+ readonly_files = "unknown-file";
+ {
+ compiler_output = "compiler-output.raw";
+ setup-ocamlc.byte-build-env;
+ all_modules = "";
+ flags = "unknown-file";
+ ocamlc_byte_exit_status = "2";
+ ocamlc.byte;
+ script = "grep 'know what to do with unknown-file' compiler-output.raw";
+ output = "compiler-output";
+ script;
+ compiler_output = "compiler-output";
+ check-ocamlc.byte-output;
+ }{
+ compiler_output = "compiler-output.raw";
+ setup-ocamlopt.byte-build-env;
+ all_modules = "";
+ flags = "unknown-file";
+ ocamlopt_byte_exit_status = "2";
+ ocamlopt.byte;
+ script = "grep 'know what to do with unknown-file' compiler-output.raw";
+ output = "compiler-output";
+ script;
+ compiler_output = "compiler-output";
+ check-ocamlopt.byte-output;
+ }
*)
(*