Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/derive/tests-stdlib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
(package rocq-elpi-tests-stdlib)
(name elpi_apps_derive_tests_stdlib)
(flags :standard -w -default-output-directory)
(theories elpi elpi.apps.derive elpi.apps.derive.tests Stdlib))
(theories elpi elpi.apps.derive elpi.apps.derive.tests micromega_plugin Stdlib)) ; we need micromega_plugin because dune doesn't handle transitive dependencies

(include_subdirs qualified)
2 changes: 1 addition & 1 deletion apps/eltac/tests-stdlib/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(coq.theory
(package rocq-elpi-tests-stdlib)
(name elpi_apps_eltac_tests_stdlib)
(theories elpi elpi.apps.eltac Stdlib))
(theories elpi elpi.apps.eltac micromega_plugin Stdlib)) ; we need micromega_plugin because dune doesn't handle transitive dependencies

(include_subdirs qualified)
2 changes: 1 addition & 1 deletion apps/tc/tests-stdlib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
(package rocq-elpi-tests-stdlib)
(name elpi_apps_tc_tests_stdlib)
(flags :standard -async-proofs-cache force)
(theories elpi elpi.apps.tc elpi.apps.tc.tests Stdlib))
(theories elpi elpi.apps.tc elpi.apps.tc.tests micromega_plugin Stdlib)) ; we need micromega_plugin because dune doesn't handle transitive dependencies

(include_subdirs qualified)
2 changes: 1 addition & 1 deletion examples-stdlib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
(package rocq-elpi-tests-stdlib)
(name elpi_examples_stdlib)
(plugins rocq-elpi.elpi)
(theories elpi Stdlib))
(theories elpi micromega_plugin Stdlib)) ; we need micromega_plugin because dune doesn't handle transitive dependencies

; (include_subdirs qualified)
2 changes: 1 addition & 1 deletion tests-stdlib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
(package rocq-elpi-tests-stdlib)
(name elpi_tests_stdlib)
(plugins rocq-elpi.elpi)
(theories elpi Stdlib))
(theories elpi micromega_plugin Stdlib)) ; we need micromega_plugin because dune doesn't handle transitive dependencies

; (include_subdirs qualified)
6 changes: 3 additions & 3 deletions tests-stdlib/test_ring.v
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ From Stdlib Require Import ZArith Lia.

(* we test we can call ML tactics *)

Elpi Tactic xlia.
Elpi Tactic mp_lia.
Elpi Accumulate lp:{{
solve G GL :- coq.ltac.call-mltac "rocq-runtime.plugins.micromega" "Lia" 0 G GL ok.
solve G GL :- coq.ltac.call-mltac "micromega-plugin.plugin" "Lia" 0 G GL ok.
}}.
Tactic Notation "mylia" :=
Zify.zify; elpi xlia ltac_tactic:(zchecker).
Zify.zify; elpi mp_lia ltac_tactic:(zchecker).

Open Scope Z.

Expand Down
Loading