-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3860 from rgrinberg/duniverse-scope-bug
Fix cram & vendored dirs bug
- Loading branch information
Showing
8 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/mwe-dune-duplicate-dialect.t/dune-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(lang dune 1.11) |
4 changes: 4 additions & 0 deletions
4
test/blackbox-tests/test-cases/mwe-dune-duplicate-dialect.t/duniverse/dune
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; This file is generated by duniverse. | ||
; Be aware that it is likely to be overwritten by your next duniverse pull invocation. | ||
|
||
(vendored_dirs *) |
3 changes: 3 additions & 0 deletions
3
...ts/test-cases/mwe-dune-duplicate-dialect.t/duniverse/dune-configurator.2.7.1/dune-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(lang dune 2.7) | ||
(name dune) | ||
(cram enable) |
11 changes: 11 additions & 0 deletions
11
...e-duplicate-dialect.t/duniverse/dune-configurator.2.7.1/test/dialects.t/bad1/dune-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(lang dune 1.11) | ||
|
||
(dialect | ||
(name d) | ||
(implementation (extension foo)) | ||
(interface (extension bar))) | ||
|
||
(dialect | ||
(name d) | ||
(implementation (extension foo2)) | ||
(interface (extension bar2))) |
8 changes: 8 additions & 0 deletions
8
...ases/mwe-dune-duplicate-dialect.t/duniverse/dune-configurator.2.7.1/test/dialects.t/run.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
$ dune build --root bad1 | ||
Entering directory 'bad1' | ||
File "dune-project", line 9, characters 1-74: | ||
9 | (name d) | ||
10 | (implementation (extension foo2)) | ||
11 | (interface (extension bar2))) | ||
Error: dialect "d" is already defined | ||
[1] |
4 changes: 4 additions & 0 deletions
4
test/blackbox-tests/test-cases/mwe-dune-duplicate-dialect.t/run.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This test should demonstrate that cram tests inside the vendor dir have their | ||
directories marked as data only | ||
|
||
$ dune build |