Added a reproduction case for #644
This commit is contained in:
parent
9aba597f5f
commit
103af8627c
|
@ -420,7 +420,6 @@
|
|||
(run ${exe:cram.exe} run.t)
|
||||
(diff? run.t run.t.corrected)))))))
|
||||
|
||||
|
||||
(alias
|
||||
((name runtest)
|
||||
(deps ((files_recursively_in test-cases/private-public-overlap)))
|
||||
|
@ -450,3 +449,13 @@
|
|||
(progn
|
||||
(run ${exe:cram.exe} run.t)
|
||||
(diff? run.t run.t.corrected)))))))
|
||||
|
||||
(alias
|
||||
((name runtest)
|
||||
(deps ((files_recursively_in test-cases/github644)))
|
||||
(action
|
||||
(chdir test-cases/github644
|
||||
(setenv JBUILDER ${bin:jbuilder}
|
||||
(progn
|
||||
(run ${exe:cram.exe} run.t)
|
||||
(diff? run.t run.t.corrected)))))))
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
let x = 42
|
|
@ -0,0 +1,4 @@
|
|||
(library
|
||||
((name foo)
|
||||
(inline_tests)
|
||||
(preprocess (pps (ppx_that_doesn't_exist)))))
|
|
@ -0,0 +1,9 @@
|
|||
$ $JBUILDER runtest --root . -j 1 --display quiet
|
||||
File "jbuild", line 4, characters 20-42:
|
||||
Error: Library "ppx_that_doesn't_exist" not found.
|
||||
Hint: try: jbuilder external-lib-deps --missing --root . @runtest
|
||||
[1]
|
||||
|
||||
This should print something:
|
||||
|
||||
$ $JBUILDER external-lib-deps --root . -j 1 --display quiet --missing @runtest
|
Loading…
Reference in New Issue