-
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.
[coq_lib] Enforce that boot libraries depend on no theories
Signed-off-by: Emilio Jesus Gallego Arias <e+git@x80.org>
- Loading branch information
Showing
12 changed files
with
37 additions
and
0 deletions.
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
Empty file.
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 @@ | ||
Inductive AnotherBegining := Of | The | Universe. |
5 changes: 5 additions & 0 deletions
5
test/blackbox-tests/test-cases/coq/compose-boot-nodeps.t/A/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,5 @@ | ||
(coq.theory | ||
(name A) | ||
(package A) | ||
(theories B) | ||
(boot)) |
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/coq/compose-boot-nodeps.t/A/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.5) | ||
|
||
(using coq 0.2) |
Empty file.
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 @@ | ||
Inductive Begining := Of | The | Universe. |
5 changes: 5 additions & 0 deletions
5
test/blackbox-tests/test-cases/coq/compose-boot-nodeps.t/B/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,5 @@ | ||
(coq.theory | ||
(name B) | ||
(package B)) | ||
|
||
|
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/coq/compose-boot-nodeps.t/B/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.5) | ||
|
||
(using coq 0.2) |
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/coq/compose-boot-nodeps.t/dune-workspace
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 3.2) |
11 changes: 11 additions & 0 deletions
11
test/blackbox-tests/test-cases/coq/compose-boot-nodeps.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,11 @@ | ||
Testing composition with two boot libraries | ||
|
||
$ dune build | ||
File "A/dune", line 1, characters 0-57: | ||
1 | (coq.theory | ||
2 | (name A) | ||
3 | (package A) | ||
4 | (theories B) | ||
5 | (boot)) | ||
Error: (boot) libraries cannot have dependencies | ||
[1] |