Skip to content

Commit

Permalink
Rename test stanza tests
Browse files Browse the repository at this point in the history
Use test names that reflect what is being tested

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed Jul 5, 2018
1 parent e32cfe2 commit dd9915c
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
1 change: 0 additions & 1 deletion test/blackbox-tests/test-cases/tests-stanza/bar.expected

This file was deleted.

1 change: 0 additions & 1 deletion test/blackbox-tests/test-cases/tests-stanza/bar.ml

This file was deleted.

2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/tests-stanza/dune
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
(tests
(names bar foo))
(names expect_test regular_test))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
expect test
1 change: 1 addition & 0 deletions test/blackbox-tests/test-cases/tests-stanza/expect_test.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = print_endline "expect test"
1 change: 0 additions & 1 deletion test/blackbox-tests/test-cases/tests-stanza/foo.ml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = print_endline "regular test"
22 changes: 11 additions & 11 deletions test/blackbox-tests/test-cases/tests-stanza/run.t
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

0 comments on commit dd9915c

Please sign in to comment.