mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
a1ba8c5b71
Create unit tests per established norm at position 52 check in_set first before getting unit
17 lines
759 B
Makefile
17 lines
759 B
Makefile
BUILD_DIR=$(shell ../../tools/find-build-dir.sh)
|
|
|
|
all setup run clean clean-again:
|
|
@basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./test.sh --$@
|
|
|
|
# finish option is used to run checks that can only be run outside of
|
|
# the test execution. Example case, honor first shutdown, proof is obtained
|
|
# from the console output as the image shuts down. This does not show up in
|
|
# the journal so the output from the do_test is captured in a file in /tmp.
|
|
# Without the use of finish the test will still pass because if it fails
|
|
# the test will loop and will be terminated via a command timeout.
|
|
# This just provides concrete confirmation.
|
|
finish:
|
|
@basedir=../.. TEST_BASE_DIR=../ BUILD_DIR=$(BUILD_DIR) ./fini.sh --$@
|
|
|
|
.PHONY: all setup run clean clean-again
|