diff --git a/test/blackbox-tests/test-cases/tests-stanza/bar.expected b/test/blackbox-tests/test-cases/tests-stanza/bar.expected deleted file mode 100644 index 1f36b03d623e..000000000000 --- a/test/blackbox-tests/test-cases/tests-stanza/bar.expected +++ /dev/null @@ -1 +0,0 @@ -test bar diff --git a/test/blackbox-tests/test-cases/tests-stanza/bar.ml b/test/blackbox-tests/test-cases/tests-stanza/bar.ml deleted file mode 100644 index c3aec09eb0df..000000000000 --- a/test/blackbox-tests/test-cases/tests-stanza/bar.ml +++ /dev/null @@ -1 +0,0 @@ -let () = print_endline "test bar" diff --git a/test/blackbox-tests/test-cases/tests-stanza/dune b/test/blackbox-tests/test-cases/tests-stanza/dune index 91232c1c0960..dd47434707d9 100644 --- a/test/blackbox-tests/test-cases/tests-stanza/dune +++ b/test/blackbox-tests/test-cases/tests-stanza/dune @@ -1,2 +1,2 @@ (tests - (names bar foo)) \ No newline at end of file + (names expect_test regular_test)) \ No newline at end of file diff --git a/test/blackbox-tests/test-cases/tests-stanza/expect_test.expected b/test/blackbox-tests/test-cases/tests-stanza/expect_test.expected new file mode 100644 index 000000000000..0819081d4410 --- /dev/null +++ b/test/blackbox-tests/test-cases/tests-stanza/expect_test.expected @@ -0,0 +1 @@ +expect test diff --git a/test/blackbox-tests/test-cases/tests-stanza/expect_test.ml b/test/blackbox-tests/test-cases/tests-stanza/expect_test.ml new file mode 100644 index 000000000000..eafadf48f38b --- /dev/null +++ b/test/blackbox-tests/test-cases/tests-stanza/expect_test.ml @@ -0,0 +1 @@ +let () = print_endline "expect test" diff --git a/test/blackbox-tests/test-cases/tests-stanza/foo.ml b/test/blackbox-tests/test-cases/tests-stanza/foo.ml deleted file mode 100644 index 2b5af9a54987..000000000000 --- a/test/blackbox-tests/test-cases/tests-stanza/foo.ml +++ /dev/null @@ -1 +0,0 @@ -let () = print_endline "test foo" diff --git a/test/blackbox-tests/test-cases/tests-stanza/regular_test.ml b/test/blackbox-tests/test-cases/tests-stanza/regular_test.ml new file mode 100644 index 000000000000..0a60748f94c5 --- /dev/null +++ b/test/blackbox-tests/test-cases/tests-stanza/regular_test.ml @@ -0,0 +1 @@ +let () = print_endline "regular test" diff --git a/test/blackbox-tests/test-cases/tests-stanza/run.t b/test/blackbox-tests/test-cases/tests-stanza/run.t index 0e91f54b3584..9a7aedf1e413 100644 --- a/test/blackbox-tests/test-cases/tests-stanza/run.t +++ b/test/blackbox-tests/test-cases/tests-stanza/run.t @@ -1,12 +1,12 @@ $ dune runtest --display short - ocamldep .bar.eobjs/bar.ml.d - ocamldep .bar.eobjs/foo.ml.d - ocamlc .bar.eobjs/foo.{cmi,cmo,cmt} - ocamlopt .bar.eobjs/foo.{cmx,o} - ocamlopt foo.exe - foo alias runtest - test foo - ocamlc .bar.eobjs/bar.{cmi,cmo,cmt} - ocamlopt .bar.eobjs/bar.{cmx,o} - ocamlopt bar.exe - bar bar.output + ocamldep .expect_test.eobjs/expect_test.ml.d + ocamldep .expect_test.eobjs/regular_test.ml.d + ocamlc .expect_test.eobjs/regular_test.{cmi,cmo,cmt} + ocamlopt .expect_test.eobjs/regular_test.{cmx,o} + ocamlopt regular_test.exe + regular_test alias runtest + regular test + ocamlc .expect_test.eobjs/expect_test.{cmi,cmo,cmt} + ocamlopt .expect_test.eobjs/expect_test.{cmx,o} + ocamlopt expect_test.exe + expect_test expect_test.output