mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/coq/no-rebuild-on-dep-change.t
2025-11-11 02:07:51 +01:00

17 lines
518 B
Perl

$ echo "(coq.theory (name bug) (mode vo))" > dune
$ echo "(lang dune 3.12)" > dune-project
$ echo "(using coq 0.8)" >> dune-project
$ touch root.v leaf.v
$ dune build
$ find _build -name "*.vo" | sort
_build/default/leaf.vo
_build/default/root.vo
$ echo "Require Import bug.root." >> leaf.v
This test makes sure that a full rebuild is not triggered when the output of
coqdep is changed.
This is as expected:
$ dune build --display=short
coqdep .bug.theory.d
coqc leaf.{glob,vo}