summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-filename/quotecommand.ml
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez@inria.fr>2023-04-25 15:25:52 +0100
committerGitHub <noreply@github.com>2023-04-25 16:25:52 +0200
commit0a7c5fe35f4be2ea5c834b586fb5e947bd952377 (patch)
tree0d66e63cda683098b81ef07f2dad09e9a9c85477 /testsuite/tests/lib-filename/quotecommand.ml
parent6be361ffd75a2fce5f4daa21fd5073b9a18ce31c (diff)
downloadocaml-0a7c5fe35f4be2ea5c834b586fb5e947bd952377.tar.gz
New script language for ocamltest (#12185)
New test script language, all tests translated automatically (see `tools/translate-all-tests`).
Diffstat (limited to 'testsuite/tests/lib-filename/quotecommand.ml')
-rw-r--r--testsuite/tests/lib-filename/quotecommand.ml53
1 files changed, 26 insertions, 27 deletions
diff --git a/testsuite/tests/lib-filename/quotecommand.ml b/testsuite/tests/lib-filename/quotecommand.ml
index 5e5059c02a..7034c36922 100644
--- a/testsuite/tests/lib-filename/quotecommand.ml
+++ b/testsuite/tests/lib-filename/quotecommand.ml
@@ -1,31 +1,30 @@
(* TEST
-
-readonly_files = "myecho.ml"
-
-* setup-ocamlc.byte-build-env
-program = "${test_build_directory}/quotecommand.byte"
-** ocamlc.byte
-program = "${test_build_directory}/myecho.exe"
-all_modules = "myecho.ml"
-*** ocamlc.byte
-program = "${test_build_directory}/quotecommand.byte"
-all_modules= "quotecommand.ml"
-**** check-ocamlc.byte-output
-***** run
-****** check-program-output
-
-* setup-ocamlopt.byte-build-env
-program = "${test_build_directory}/quotecommand.opt"
-** ocamlopt.byte
-program = "${test_build_directory}/myecho.exe"
-all_modules = "myecho.ml"
-*** ocamlopt.byte
-program = "${test_build_directory}/quotecommand.opt"
-all_modules= "quotecommand.ml"
-**** check-ocamlopt.byte-output
-***** run
-****** check-program-output
-
+ readonly_files = "myecho.ml";
+ {
+ program = "${test_build_directory}/quotecommand.byte";
+ setup-ocamlc.byte-build-env;
+ program = "${test_build_directory}/myecho.exe";
+ all_modules = "myecho.ml";
+ ocamlc.byte;
+ program = "${test_build_directory}/quotecommand.byte";
+ all_modules = "quotecommand.ml";
+ ocamlc.byte;
+ check-ocamlc.byte-output;
+ run;
+ check-program-output;
+ }{
+ program = "${test_build_directory}/quotecommand.opt";
+ setup-ocamlopt.byte-build-env;
+ program = "${test_build_directory}/myecho.exe";
+ all_modules = "myecho.ml";
+ ocamlopt.byte;
+ program = "${test_build_directory}/quotecommand.opt";
+ all_modules = "quotecommand.ml";
+ ocamlopt.byte;
+ check-ocamlopt.byte-output;
+ run;
+ check-program-output;
+ }
*)
open Printf