mkosi: support mkosi's --without-tests switch

This adds support for the mkosi switch --without-tests that is
introduced by:

https://github.com/systemd/mkosi/pull/122

With this in place doing "mkosi -ifT shell" is the fastest way from a
git clone to a shell within a freshly compiled systemd system.
This commit is contained in:
Lennart Poettering 2017-07-17 20:54:16 +02:00
parent 708d423915
commit a818a2ae60
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
export LC_CTYPE=C.UTF-8
test -f "$BUILDDIR"/build.ninja || meson "$BUILDDIR"
ninja -C "$BUILDDIR" all
ninja -C "$BUILDDIR" test
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
ninja -C "$BUILDDIR" install
mkdir -p "$DESTDIR"/etc