mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
test: simplify the Makefiles
has-overflow was a temporary hack that was removed in
844da987ef
(Oct. 2016). All the makefiles
can be the same, and all the targets can be handled identically.
This commit is contained in:
parent
ec43f6862e
commit
108d00a6b2
|
@ -1,9 +1,6 @@
|
|||
BUILD_DIR=$(shell ../../tools/find-build-dir.sh)
|
||||
|
||||
all setup run:
|
||||
all setup run clean clean-again:
|
||||
@basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@
|
||||
|
||||
clean clean-again:
|
||||
@basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --clean
|
||||
|
||||
.PHONY: all setup run clean clean-again
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
BUILD_DIR=$(shell ../../tools/find-build-dir.sh)
|
||||
|
||||
all setup run:
|
||||
@basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@
|
||||
|
||||
clean clean-again:
|
||||
@basedir=../.. TEST_BASE_DIR=../ ./test.sh --clean
|
||||
@rm -f has-overflow
|
||||
|
||||
.PHONY: all setup run clean clean-again
|
1
test/TEST-13-NSPAWN-SMOKE/Makefile
Symbolic link
1
test/TEST-13-NSPAWN-SMOKE/Makefile
Symbolic link
|
@ -0,0 +1 @@
|
|||
../TEST-01-BASIC/Makefile
|
|
@ -2039,7 +2039,7 @@ do_test() {
|
|||
test_setup
|
||||
test_setup_cleanup
|
||||
;;
|
||||
--clean)
|
||||
--clean|--clean-again)
|
||||
echo "TEST CLEANUP: $TEST_DESCRIPTION"
|
||||
test_cleanup
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue