summaryrefslogtreecommitdiff
path: root/testsuite/tests/runtime-errors/syserror.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/runtime-errors/syserror.ml')
-rw-r--r--testsuite/tests/runtime-errors/syserror.ml55
1 files changed, 30 insertions, 25 deletions
diff --git a/testsuite/tests/runtime-errors/syserror.ml b/testsuite/tests/runtime-errors/syserror.ml
index d5230ad7cf..5cab8e3bd5 100644
--- a/testsuite/tests/runtime-errors/syserror.ml
+++ b/testsuite/tests/runtime-errors/syserror.ml
@@ -1,29 +1,34 @@
(* TEST
-
-flags = "-w -a"
-
-* setup-ocamlc.byte-build-env
-** ocamlc.byte
-*** run
-exit_status = "2"
-**** libunix
-***** check-program-output
-reference = "${test_source_directory}/syserror.unix.reference"
-**** libwin32unix
-***** check-program-output
-reference = "${test_source_directory}/syserror.win32.reference"
-
-* setup-ocamlopt.byte-build-env
-** ocamlopt.byte
-*** run
-exit_status = "2"
-**** libunix
-***** check-program-output
-reference = "${test_source_directory}/syserror.unix.reference"
-**** libwin32unix
-***** check-program-output
-reference = "${test_source_directory}/syserror.win32.reference"
-
+ flags = "-w -a";
+ {
+ setup-ocamlc.byte-build-env;
+ ocamlc.byte;
+ exit_status = "2";
+ run;
+ {
+ libunix;
+ reference = "${test_source_directory}/syserror.unix.reference";
+ check-program-output;
+ }{
+ libwin32unix;
+ reference = "${test_source_directory}/syserror.win32.reference";
+ check-program-output;
+ }
+ }{
+ setup-ocamlopt.byte-build-env;
+ ocamlopt.byte;
+ exit_status = "2";
+ run;
+ {
+ libunix;
+ reference = "${test_source_directory}/syserror.unix.reference";
+ check-program-output;
+ }{
+ libwin32unix;
+ reference = "${test_source_directory}/syserror.win32.reference";
+ check-program-output;
+ }
+ }
*)
let _ = Printexc.record_backtrace false