META generation bug in different scopes
This commit is contained in:
parent
ba5ffbc414
commit
d6601bf2bb
|
@ -257,3 +257,13 @@
|
||||||
(progn
|
(progn
|
||||||
(run ${exe:cram.exe} run.t)
|
(run ${exe:cram.exe} run.t)
|
||||||
(diff? run.t run.t.corrected)))))))
|
(diff? run.t run.t.corrected)))))))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
((name runtest)
|
||||||
|
(deps ((files_recursively_in test-cases/scope-bug)))
|
||||||
|
(action
|
||||||
|
(chdir test-cases/scope-bug
|
||||||
|
(setenv JBUILDER ${bin:jbuilder}
|
||||||
|
(progn
|
||||||
|
(run ${exe:cram.exe} run.t)
|
||||||
|
(diff? run.t run.t.corrected)))))))
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
(jbuild_version 1)
|
||||||
|
|
||||||
|
(library
|
||||||
|
((name alib)
|
||||||
|
(public_name alib)
|
||||||
|
(libraries (blib))))
|
|
@ -0,0 +1,6 @@
|
||||||
|
(jbuild_version 1)
|
||||||
|
|
||||||
|
(library
|
||||||
|
((name blib)
|
||||||
|
(public_name blib)
|
||||||
|
(libraries (sub))))
|
|
@ -0,0 +1,5 @@
|
||||||
|
(jbuild_version 1)
|
||||||
|
|
||||||
|
(library
|
||||||
|
((name sub)
|
||||||
|
(public_name blib.sub)))
|
|
@ -0,0 +1,5 @@
|
||||||
|
$ $JBUILDER build -j1 --root . @install
|
||||||
|
Error: External library "sub" not found.
|
||||||
|
-> required by "alib/jbuild (context default)"
|
||||||
|
Hint: try: jbuilder external-lib-deps --missing --root . @install
|
||||||
|
[1]
|
Loading…
Reference in New Issue