mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/pkg/build-single-package.t

32 lines
502 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
Requesting to build a single package should not build unrelated things:
$ . ./helpers.sh
$ make_lockdir
$ cat >dune-project <<EOF
> (lang dune 3.12)
> EOF
$ pkg() {
> make_lockpkg $1 <<EOF
> (build (run echo building $1))
> (version dev)
> EOF
> }
These two packages are independent:
$ pkg foo
$ pkg bar
We should only see the result of building "foo"
$ build_pkg foo
building foo
We should only see the result of building "bar"
$ build_pkg bar
building bar