mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/ignore-promoted-rules-internal-rules.t

23 lines
486 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
This test demonstrates the interaction between --ignore-promoted-rules and
internal promote rules (like generating opam files)
Reported in #8417
$ cat >dune-project <<EOF
> (lang dune 3.10)
> (generate_opam_files true)
> (package
> (name foo))
> EOF
$ dune build foo.opam
$ echo foobar_extra >> foo.opam
$ grep foobar_extra foo.opam
foobar_extra
This should not modify the file now
$ dune build --ignore-promoted-rules foo.opam
$ grep extra foo.opam
[1]