-
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.
- Loading branch information
Jeremie Dimino
committed
May 1, 2018
1 parent
0324e18
commit d6e8786
Showing
48 changed files
with
105 additions
and
105 deletions.
There are no files selected for viewing
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,22 +1,22 @@ | ||
$ jbuilder clean --display short | ||
$ jbuilder build --display short @just-in-src | ||
$ dune clean --display short | ||
$ dune build --display short @just-in-src | ||
running in src | ||
$ jbuilder clean --display short | ||
$ jbuilder build --display short @everywhere | ||
$ dune clean --display short | ||
$ dune build --display short @everywhere | ||
running in src/foo/bar | ||
running in src/foo/baz | ||
running in src | ||
$ jbuilder clean --display short | ||
$ jbuilder build --display short @x | ||
$ dune clean --display short | ||
$ dune build --display short @x | ||
running in src/foo/bar | ||
running in src/foo/baz | ||
running in src | ||
$ jbuilder build --display short @plop | ||
$ dune build --display short @plop | ||
From the command line: | ||
Error: Alias plop is empty. | ||
It is not defined in . or any of its descendants. | ||
[1] | ||
$ jbuilder build --display short @truc/x | ||
$ dune build --display short @truc/x | ||
From the command line: | ||
Error: Don't know about directory truc! | ||
[1] |
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
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,14 +1,14 @@ | ||
Show that config values are present | ||
$ jbuilder exec config/run.exe | ||
$ dune exec config/run.exe | ||
DUNE_CONFIGURATOR is present | ||
version is present | ||
|
||
We're able to compile C program sucessfully | ||
$ jbuilder exec c_test/run.exe | ||
$ dune exec c_test/run.exe | ||
Successfully compiled c program | ||
|
||
Importing #define's from code is successful | ||
$ jbuilder exec import-define/run.exe | ||
$ dune exec import-define/run.exe | ||
CAML_CONFIG_H=true | ||
Page_log=12 | ||
CONFIGURATOR_TESTING=foobar |
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
10 changes: 5 additions & 5 deletions
10
test/blackbox-tests/test-cases/depend-on-the-universe/run.t
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,10 +1,10 @@ | ||
$ jbuilder build @x | ||
$ dune build @x | ||
Hello, world! | ||
$ jbuilder build @x | ||
$ dune build @x | ||
Hello, world! | ||
$ jbuilder build @x | ||
$ dune build @x | ||
Hello, world! | ||
$ jbuilder build @x | ||
$ dune build @x | ||
Hello, world! | ||
$ jbuilder build @x | ||
$ dune build @x | ||
Hello, world! |
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,3 +1,3 @@ | ||
$ jbuilder build --display short | ||
$ dune build --display short | ||
File "jbuild", line 3, characters 24-28: | ||
Warning: Module Fake is excluded but it doesn't exist. |
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
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
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 @@ | ||
$ jbuilder clean --display short | ||
$ jbuilder runtest --display short | ||
$ dune clean --display short | ||
$ dune runtest --display short | ||
ocamldep f.ml.d | ||
ocamlc .f.eobjs/f.{cmi,cmo,cmt} | ||
ocamlopt .f.eobjs/f.{cmx,o} | ||
ocamlopt f.exe | ||
f alias runtest | ||
Foo Bar | ||
$ jbuilder runtest --display short | ||
$ jbuilder runtest --force --display short | ||
$ dune runtest --display short | ||
$ dune runtest --force --display short | ||
f alias runtest | ||
Foo Bar |
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
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 +1 @@ | ||
$ jbuilder build .merlin --display short | ||
$ dune build .merlin --display short |
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 +1 @@ | ||
$ jbuilder build @install --display short --debug-dependency-path | ||
$ dune build @install --display short --debug-dependency-path |
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
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
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
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 +1 @@ | ||
$ jbuilder build b/b.cma | ||
$ dune build b/b.cma |
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
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,20 +1,20 @@ | ||
When there are explicit interfaces, modules must be rebuilt. | ||
|
||
$ jbuilder runtest --root explicit-interfaces --display quiet -j1 2>&1 | grep -v Entering | ||
$ dune runtest --root explicit-interfaces --display quiet -j1 2>&1 | grep -v Entering | ||
main alias runtest | ||
hello | ||
$ echo 'let x = 1' >> explicit-interfaces/lib_sub.ml | ||
$ jbuilder runtest --root explicit-interfaces --display quiet -j1 2>&1 | grep -v Entering | grep -v ocamlopt | ||
$ dune runtest --root explicit-interfaces --display quiet -j1 2>&1 | grep -v Entering | grep -v ocamlopt | ||
main alias runtest | ||
hello | ||
|
||
When there are no interfaces, the situation is the same, but it is not possible | ||
to rely on these. | ||
|
||
$ jbuilder runtest --root no-interfaces --display quiet -j1 2>&1 | grep -v Entering | ||
$ dune runtest --root no-interfaces --display quiet -j1 2>&1 | grep -v Entering | ||
main alias runtest | ||
hello | ||
$ echo 'let x = 1' >> no-interfaces/lib_sub.ml | ||
$ jbuilder runtest --root no-interfaces --display quiet -j1 2>&1 | grep -v Entering | grep -v ocamlopt | ||
$ dune runtest --root no-interfaces --display quiet -j1 2>&1 | grep -v Entering | grep -v ocamlopt | ||
main alias runtest | ||
hello |
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 +1 @@ | ||
$ jbuilder build @doc | ||
$ dune build @doc |
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
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
2 changes: 1 addition & 1 deletion
2
test/blackbox-tests/test-cases/installable-dup-private-libs/run.t
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
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
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
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,3 +1,3 @@ | ||
$ jbuilder build @runtest --display short --debug-dependency-path 2>&1 | sed "s/ cmd / sh /" | ||
$ dune build @runtest --display short --debug-dependency-path 2>&1 | sed "s/ cmd / sh /" | ||
sh alias runtest | ||
sh alias runtest |
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
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
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
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
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
Oops, something went wrong.