-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use test names that reflect what is being tested Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
- Loading branch information
Showing
8 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
(tests | ||
(names bar foo)) | ||
(names expect_test regular_test)) |
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/tests-stanza/expect_test.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
expect test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
let () = print_endline "expect test" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
let () = print_endline "regular test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |