Skip to content

Commit

Permalink
[coq] [test] Add test for missing plugins flags from boot (issue intr…
Browse files Browse the repository at this point in the history
…oduced in ocaml#5866)
  • Loading branch information
ejgallego committed Sep 27, 2022
1 parent 63ad40f commit 957a705
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(lang dune 3.4)

(using coq 0.5)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(library
(name boot_plugin)
(public_name coq-boot.boot_plugin))

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = Format.eprintf "plugin loaded@\n%!"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Declare ML Module "boot_plugin:coq-boot.boot_plugin".
Inductive AnotherBegining := Of | The | Universe.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(coq.theory
(name Coq)
(boot)
(package coq-boot)
(plugins coq-boot.boot_plugin))

(include_subdirs qualified)
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(coq.theory
(name User)
(package coq-user))


Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(lang dune 3.4)

(using coq 0.5)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Definition from_boot : AnotherBegining := Universe.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(lang dune 3.4)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Testing composition with a boot library with plugins

$ dune build
plugin loaded
plugin loaded
1 change: 0 additions & 1 deletion test/blackbox-tests/test-cases/coq/compose-boot.t/A/a.v

This file was deleted.

4 changes: 0 additions & 4 deletions test/blackbox-tests/test-cases/coq/compose-boot.t/A/dune

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion test/blackbox-tests/test-cases/coq/compose-boot.t/B/b.v

This file was deleted.

6 changes: 0 additions & 6 deletions test/blackbox-tests/test-cases/coq/compose-boot.t/B/dune

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions test/blackbox-tests/test-cases/coq/compose-boot.t/run.t

This file was deleted.

0 comments on commit 957a705

Please sign in to comment.