Add a test for #761
This commit is contained in:
parent
229007a891
commit
ba78e05d95
|
@ -201,6 +201,14 @@
|
|||
test-cases/github759
|
||||
(progn (run ${exe:cram.exe} -test run.t) (diff? run.t run.t.corrected))))))
|
||||
|
||||
(alias
|
||||
((name github761)
|
||||
(deps ((package dune) (files_recursively_in test-cases/github761)))
|
||||
(action
|
||||
(chdir
|
||||
test-cases/github761
|
||||
(progn (run ${exe:cram.exe} -test run.t) (diff? run.t run.t.corrected))))))
|
||||
|
||||
(alias
|
||||
((name include-loop)
|
||||
(deps ((package dune) (files_recursively_in test-cases/include-loop)))
|
||||
|
@ -485,6 +493,7 @@
|
|||
(alias github660)
|
||||
(alias github717-odoc-index)
|
||||
(alias github759)
|
||||
(alias github761)
|
||||
(alias include-loop)
|
||||
(alias inline_tests)
|
||||
(alias installable-dup-private-libs)
|
||||
|
@ -538,6 +547,7 @@
|
|||
(alias github597)
|
||||
(alias github660)
|
||||
(alias github759)
|
||||
(alias github761)
|
||||
(alias include-loop)
|
||||
(alias inline_tests)
|
||||
(alias installable-dup-private-libs)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
(alias
|
||||
((name foo/bar)
|
||||
(action (echo toto))))
|
||||
|
||||
(alias
|
||||
((name bar)
|
||||
(action (echo toto))))
|
|
@ -0,0 +1,23 @@
|
|||
$ jbuilder build @bar
|
||||
Internal error, please report upstream including the contents of _build/log.
|
||||
Description:
|
||||
("Alias0.make: Invalid alias" (name foo/bar) (dir _build/default))
|
||||
Backtrace:
|
||||
Raised at file "src/stdune/exn.ml", line 32, characters 5-10
|
||||
Called from file "src/build_system.ml", line 228, characters 8-146
|
||||
Called from file "src/gen_rules.ml", line 914, characters 16-49
|
||||
Called from file "src/gen_rules.ml", line 964, characters 8-37
|
||||
Called from file "src/stdune/list.ml", line 13, characters 10-13
|
||||
Called from file "src/gen_rules.ml", line 955, characters 4-777
|
||||
Called from file "src/gen_rules.ml", line 994, characters 19-30
|
||||
Called from file "src/build_system.ml", line 889, characters 6-62
|
||||
Called from file "src/build_system.ml", line 865, characters 6-59
|
||||
Re-raised at file "src/build_system.ml", line 876, characters 6-17
|
||||
Called from file "src/build_system.ml" (inlined), line 833, characters 32-63
|
||||
Called from file "src/build_system.ml", line 843, characters 4-24
|
||||
Called from file "src/build_interpret.ml", line 101, characters 24-40
|
||||
Called from file "src/build_interpret.ml", line 60, characters 31-43
|
||||
Called from file "src/build_interpret.ml", line 60, characters 31-43
|
||||
Called from file "src/build_system.ml", line 1215, characters 10-108
|
||||
Called from file "src/fiber/fiber.ml", line 359, characters 6-13
|
||||
[1]
|
Loading…
Reference in New Issue