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 <[email protected]>
  • Loading branch information
rgrinberg committed May 6, 2019
1 parent af28664 commit 786797d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/blackbox-tests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,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 github24)
(deps (package dune) (source_tree test-cases/github24))
Expand Down Expand Up @@ -1470,6 +1478,7 @@
(alias github1946)
(alias github20)
(alias github2033)
(alias github2123)
(alias github24)
(alias github25)
(alias github534)
Expand Down Expand Up @@ -1636,6 +1645,7 @@
(alias github1946)
(alias github20)
(alias github2033)
(alias github2123)
(alias github24)
(alias github25)
(alias github534)
Expand Down
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 786797d

Please sign in to comment.