Add a test for #485 (#511)

This commit is contained in:
Jérémie Dimino 2018-02-13 12:58:34 +00:00 committed by GitHub
parent 2fb65c05ba
commit dc3bfb9b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 0 deletions

View File

@ -318,3 +318,14 @@
(progn
(run ${exe:cram.exe} run.t)
(diff? run.t run.t.corrected)))))))
(alias
((name runtest)
(deps ((files_recursively_in test-cases/findlib)))
(action
(chdir test-cases/findlib
(setenv OCAMLPATH findlib-packages
(setenv JBUILDER ${bin:jbuilder}
(progn
(run ${exe:cram.exe} run.t)
(diff? run.t run.t.corrected))))))))

View File

@ -0,0 +1 @@
$ $JBUILDER external-lib-deps --root . -j1 --display quiet @install

View File

@ -0,0 +1,4 @@
(library
((name foo)
(public_name foo)
(libraries (a b c))))