Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make output-obj test more reproducible
Browse files Browse the repository at this point in the history
The relevant part of that test is the output of the runtest part.
How exactly it is built is not important and causes build failures on
Travis sometimes.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon committed Oct 16, 2018
1 parent e28a54b commit 3f2f05e
Showing 2 changed files with 0 additions and 26 deletions.
12 changes: 0 additions & 12 deletions test/blackbox-tests/test-cases/output-obj/dune
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
(alias
(name all)
(deps test.bc
test.exe
; test.bc.c
test.bc%{ext_obj}
test.exe%{ext_obj}
test.bc%{ext_dll}
test%{ext_dll}
static.bc
static.exe))

(executable
(name test)
(modes (byte exe )
14 changes: 0 additions & 14 deletions test/blackbox-tests/test-cases/output-obj/run.t
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
$ dune build --display short @all
ocamldep .test.eobjs/test.ml.d
ocamlc .test.eobjs/test.{cmi,cmo,cmt}
ocamlc test.bc.o
gcc static.bc
ocamlopt .test.eobjs/test.{cmx,o}
ocamlopt test.exe.o
gcc static.exe
ocamlc test.bc
ocamlc test.bc.so
ocamlopt test.exe
ocamlopt test$ext_dll
# ocamlc test.bc.c

$ dune build @runtest
dynamic alias runtest
OK: ./dynamic.exe ./test.bc.so

0 comments on commit 3f2f05e

Please sign in to comment.