Skip to content

Commit

Permalink
Add test case to reproduce #2123
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed May 5, 2019
1 parent d328f33 commit a810bdf
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/blackbox-tests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,14 @@
test-cases/github2033
(progn (run %{exe:cram.exe} -test run.t) (diff? run.t run.t.corrected)))))

(alias
(name github2123)
(deps (package dune) (source_tree test-cases/github2123))
(action
(chdir
test-cases/github2123
(progn (run %{exe:cram.exe} -test run.t) (diff? run.t run.t.corrected)))))

(alias
(name github2061)
(deps (package dune) (source_tree test-cases/github2061))
Expand Down Expand Up @@ -1504,6 +1512,7 @@
(alias github1946)
(alias github20)
(alias github2033)
(alias github2123)
(alias github2061)
(alias github24)
(alias github25)
Expand Down Expand Up @@ -1674,6 +1683,7 @@
(alias github1946)
(alias github20)
(alias github2033)
(alias github2123)
(alias github2061)
(alias github24)
(alias github25)
Expand Down Expand Up @@ -1756,4 +1766,4 @@

(alias (name runtest-js) (deps (alias js_of_ocaml)))

(alias (name runtest-coq) (deps (alias coq)))
(alias (name runtest-coq) (deps (alias coq)))
3 changes: 3 additions & 0 deletions test/blackbox-tests/test-cases/github2123/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(install
(section lib)
(files (mirage-xen.pc as ../pkgconfig/mirage-xen.pc)))
1 change: 1 addition & 0 deletions test/blackbox-tests/test-cases/github2123/dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(lang dune 1.9)
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions test/blackbox-tests/test-cases/github2123/run.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$ dune build @install
Path outside the workspace: ../pkgconfig/mirage-xen.pc from .
[1]

0 comments on commit a810bdf

Please sign in to comment.