mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/disable-promotion.t/run.t
2025-11-11 02:07:51 +01:00

18 lines
545 B
Perl

This tests shows how all promotion to the source dir may be disabled. This
includes .install files and manually promoted executables
$ dune build -p foo --disable-promotion
foo.exe and foo.install are absent
$ test -f foo.exe && echo "foo.exe exists"
[1]
$ test -f foo.install && echo "foo.install exists"
[1]
now we build without the option and see that they are present:
$ dune build -p foo
$ test -f foo.exe && echo "foo.exe exists"
foo.exe exists
$ test -f foo.install && echo "foo.install exists"
foo.install exists