-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (33 loc) · 767 Bytes
/
Makefile
File metadata and controls
38 lines (33 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PASSING_TESTS := AUnitMetaTest \
AUnitMoreTest \
AUnitTest \
FilterTest \
Print64Test
FAILING_TESTS := FailingTest \
SetupAndTeardownTest
tests:
set -e; \
for dir in $(PASSING_TESTS) $(FAILING_TESTS); do \
$(MAKE) -C $$dir; \
done
# $ make runtests | grep failed
runtests:
set -e; \
for dir in $(PASSING_TESTS); do \
echo '==== Running:' $$dir; \
$(MAKE) -C $$dir run; \
done
# These contain purposefully failing tests, so must be manually verified to run
# and fail in the expected way.
# $ make run_manual_tests
runfailingtests:
for dir in $(FAILING_TESTS); do \
echo '==== Running:' $$dir; \
$(MAKE) -C $$dir run; \
done
clean:
set -e; \
for dir in $(PASSING_TESTS) $(FAILING_TESTS); do \
echo $$dir; \
$(MAKE) -C $$dir clean; \
done