]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test: remove layering violation from the make system
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 19 Oct 2022 04:35:48 +0000 (04:35 +0000)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 7 Nov 2022 17:04:47 +0000 (18:04 +0100)
Tests should not try to build dracut itself. Test should assume dracut
is built and availabnle to run.

test/Makefile.testdir

index 64e0d4964cb91549562eb4967f889f60eb5268fb..e3b31b162472693d3a397dc1c34d221ebdaef8c6 100644 (file)
@@ -1,10 +1,8 @@
 .PHONY: all setup clean run
 
 all:
-       @$(MAKE) -s --no-print-directory -C ../.. all
        @V=$(V) testdir="$(realpath ../)" ./test.sh --all
 setup:
-       @$(MAKE) --no-print-directory -C ../.. all
        @testdir="$(realpath ../)" ./test.sh --setup
 clean:
        @testdir="$(realpath ../)" ./test.sh --clean