Failing test for shadowing bindings
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
65e1aa0043
commit
205d12755e
|
@ -611,6 +611,14 @@
|
|||
test-cases/select
|
||||
(progn (run %{exe:cram.exe} -test run.t) (diff? run.t run.t.corrected)))))
|
||||
|
||||
(alias
|
||||
(name shadow-bindings)
|
||||
(deps (package dune) (source_tree test-cases/shadow-bindings))
|
||||
(action
|
||||
(chdir
|
||||
test-cases/shadow-bindings
|
||||
(progn (run %{exe:cram.exe} -test run.t) (diff? run.t run.t.corrected)))))
|
||||
|
||||
(alias
|
||||
(name subst)
|
||||
(deps (package dune) (source_tree test-cases/subst))
|
||||
|
@ -749,6 +757,7 @@
|
|||
(alias scope-bug)
|
||||
(alias scope-ppx-bug)
|
||||
(alias select)
|
||||
(alias shadow-bindings)
|
||||
(alias subst)
|
||||
(alias syntax-versioning)
|
||||
(alias tests-stanza)
|
||||
|
@ -824,6 +833,7 @@
|
|||
(alias scope-bug)
|
||||
(alias scope-ppx-bug)
|
||||
(alias select)
|
||||
(alias shadow-bindings)
|
||||
(alias subst)
|
||||
(alias syntax-versioning)
|
||||
(alias tests-stanza)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
(alias
|
||||
(name runtest)
|
||||
(deps (:root foo))
|
||||
(action (echo %{root})))
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.0)
|
|
@ -0,0 +1,4 @@
|
|||
Bindings introduced by user dependencies should shadow existing bindings
|
||||
|
||||
$ dune runtest
|
||||
.
|
Loading…
Reference in New Issue