mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
40235c3c5e
Currently, if I run the full "run-integration-tests.sh" script it will fail on my machine because it fills up /var/tmp whith just too much crap until the disk is full. Let's make sure that "run-integration-tests.sh" cleans up after every test. For that change the make targets to run from "clean setup run" to "clean setup run clean" — except that that doesn't work since make is smart enough to realize that the same target appears twice on the command line and will only execute it once. Let's fix that by defining another target "clean-again" which is just like "clean", but allows us to be added to the same command line a second time. Then, let's build with "clean setup run clean-again" and all is good. While we are at it, let's also add .PHONY where appropriate, after all these all are phony targets.
11 lines
271 B
Makefile
11 lines
271 B
Makefile
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
|