btrfs-progs: makefile: add target for testing installation
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
98410fce1d
commit
6a0d3bf28d
|
@ -242,6 +242,12 @@ test-clean:
|
|||
@echo "Cleaning tests"
|
||||
$(Q)bash tests/clean-tests.sh
|
||||
|
||||
test-inst: all
|
||||
@tmpdest=`mktemp --tmpdir -d btrfs-inst.XXXXXX` && \
|
||||
echo "Test installation to $$tmpdest" && \
|
||||
$(MAKE) DESTDIR=$$tmpdest install && \
|
||||
$(RM) -rf -- $$tmpdest
|
||||
|
||||
test: test-fsck test-mkfs test-convert test-misc test-fuzz
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue