-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ps/branch/refactor__move_bin_describe_ml_to_…
…bin_describe_
- Loading branch information
Showing
24 changed files
with
284 additions
and
89 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
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
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
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
15 changes: 15 additions & 0 deletions
15
test/blackbox-tests/test-cases/coq/compose-installed-plugin.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,15 @@ | ||
Test for https://github.com/ocaml/dune/issues/7893 | ||
When using an installed theory with plugins, things should work fine. | ||
|
||
$ dune build --root to_install @all | ||
Entering directory 'to_install' | ||
Hello | ||
Leaving directory 'to_install' | ||
$ dune install --root to_install --prefix=$PWD | ||
|
||
We now build the normal theory, and should work | ||
|
||
$ COQPATH=$PWD/lib/coq/user-contrib dune build --root user @all | ||
Entering directory 'user' | ||
Hello | ||
Leaving directory 'user' |
4 changes: 4 additions & 0 deletions
4
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/to_install/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,4 @@ | ||
(lang dune 3.8) | ||
(using coq 0.8) | ||
|
||
(package (name global)) |
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/to_install/plugin/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,3 @@ | ||
(library | ||
(name plugin) | ||
(public_name global.plugin)) |
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/to_install/plugin/p.ml
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 @@ | ||
let () = Format.eprintf "Hello@\n%!" |
1 change: 1 addition & 0 deletions
1
.../blackbox-tests/test-cases/coq/compose-installed-plugin.t/to_install/plugin/plugin.mlpack
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 @@ | ||
|
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/to_install/theory/bar.v
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 @@ | ||
Declare ML Module "plugin:global.plugin". |
4 changes: 4 additions & 0 deletions
4
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/to_install/theory/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 @@ | ||
(coq.theory | ||
(name Bar) | ||
(package global) | ||
(plugins global.plugin)) |
1 change: 1 addition & 0 deletions
1
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/user/bar.v
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 @@ | ||
From Bar Require Import bar. |
4 changes: 4 additions & 0 deletions
4
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/user/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 @@ | ||
(coq.theory | ||
(name Foo) | ||
(package local) | ||
(theories Bar)) |
4 changes: 4 additions & 0 deletions
4
test/blackbox-tests/test-cases/coq/compose-installed-plugin.t/user/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,4 @@ | ||
(lang dune 3.8) | ||
(using coq 0.8) | ||
|
||
(package (name local)) |
Oops, something went wrong.