forked from netblue30/firejail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (21 loc) · 597 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.SUFFIXES:
ROOT = ..
-include $(ROOT)/config.mk
TESTS=$(patsubst %/,%,$(wildcard */))
.PHONY: $(TESTS)
$(TESTS):
cd $@ && ./[email protected] 2>&1 | tee [email protected]
cd $@ && grep -a TESTING [email protected] && ! grep -a -q "TESTING ERROR" [email protected]
.PHONY: clean
clean:
for test in $(TESTS); do rm -f "$$test/$$test.log"; done
rm -fr environment/-testdir
rm -f environment/index.html*
rm -f environment/logfile*
rm -f environment/wget-log*
rm -f sysutils/firejail_t*
rm -f utils/firejail-test-file*
rm -f utils/index.html*
rm -f utils/lstesting
rm -f utils/wget-log
cd compile && (./compile.sh --clean || true)