mirror of
https://github.com/systemd/systemd.git
synced 2024-12-21 08:03:49 +08:00
898720b7e9
$ cd test $ sudo make check will run all tests in the TEST-* subdirectories $ cd test/TEST-01-BASIC $ sudo make clean setup run will run the different stages of the test for debugging purposes
21 lines
398 B
Makefile
21 lines
398 B
Makefile
# Just a little hook script to easy building when in this directory
|
|
.PHONY: all check clean
|
|
|
|
all:
|
|
$(MAKE) -C ..
|
|
|
|
clean:
|
|
@for i in TEST-[0-9]*; do \
|
|
[ -d $$i ] || continue ; \
|
|
[ -f $$i/Makefile ] || continue ; \
|
|
make -C $$i clean ; \
|
|
done
|
|
|
|
check:
|
|
$(MAKE) -C .. all
|
|
@for i in TEST-[0-9]*; do \
|
|
[ -d $$i ] || continue ; \
|
|
[ -f $$i/Makefile ] || continue ; \
|
|
make -C $$i all ; \
|
|
done
|