diff options
author | Damien Doligez <damien.doligez@inria.fr> | 2023-04-25 15:25:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 16:25:52 +0200 |
commit | 0a7c5fe35f4be2ea5c834b586fb5e947bd952377 (patch) | |
tree | 0d66e63cda683098b81ef07f2dad09e9a9c85477 /testsuite/tests/translprim/array_spec.ml | |
parent | 6be361ffd75a2fce5f4daa21fd5073b9a18ce31c (diff) | |
download | ocaml-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/translprim/array_spec.ml')
-rw-r--r-- | testsuite/tests/translprim/array_spec.ml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/testsuite/tests/translprim/array_spec.ml b/testsuite/tests/translprim/array_spec.ml index 6d0c1e49f8..70b65919ca 100644 --- a/testsuite/tests/translprim/array_spec.ml +++ b/testsuite/tests/translprim/array_spec.ml @@ -1,15 +1,16 @@ (* TEST - * setup-ocamlc.byte-build-env - ** ocamlc.byte - flags = "-dlambda -dno-unique-ids" - *** flat-float-array - **** check-ocamlc.byte-output - compiler_reference = - "${test_source_directory}/array_spec.compilers.flat.reference" - *** no-flat-float-array - **** check-ocamlc.byte-output - compiler_reference = - "${test_source_directory}/array_spec.compilers.no-flat.reference" + setup-ocamlc.byte-build-env; + flags = "-dlambda -dno-unique-ids"; + ocamlc.byte; + { + flat-float-array; + compiler_reference = "${test_source_directory}/array_spec.compilers.flat.reference"; + check-ocamlc.byte-output; + }{ + no-flat-float-array; + compiler_reference = "${test_source_directory}/array_spec.compilers.no-flat.reference"; + check-ocamlc.byte-output; + } *) external len : 'a array -> int = "%array_length" |