Skip to content

Commit

Permalink
Merge pull request #557 from rgrinberg/fix-exec-test
Browse files Browse the repository at this point in the history
Use a more unique binary name
  • Loading branch information
rgrinberg committed Feb 28, 2018
2 parents 5ecf354 + c5da66e commit e993274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/exec-cmd/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
(executable
((modules (bar))
(name bar)
(public_name bar)))
(public_name dunetestbar)))
6 changes: 3 additions & 3 deletions test/blackbox-tests/test-cases/exec-cmd/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
ocamlopt .foo.eobjs/foo.{cmx,o}
ocamlopt foo.exe
Foo
$ $JBUILDER exec bar --no-build -j1 --display short --root .
Error: Program "bar" isn't built yet you need to buid it first or remove the --no-build option.
$ $JBUILDER exec dunetestbar --no-build -j1 --display short --root .
Error: Program "dunetestbar" isn't built yet you need to buid it first or remove the --no-build option.
[1]
$ $JBUILDER exec bar -j1 --display short --root .
$ $JBUILDER exec dunetestbar -j1 --display short --root .
ocamldep bar.ml.d
ocamlc .bar.eobjs/bar.{cmi,cmo,cmt}
ocamlopt .bar.eobjs/bar.{cmx,o}
Expand Down

0 comments on commit e993274

Please sign in to comment.