-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (26 loc) · 958 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
all: clean multi
multi:
COVERAGE=OFF mgmt/parallel-run-tests.sh
coverage:
COVERAGE=ON mgmt/parallel-run-tests.sh
solo:
mgmt/run-tests.sh
guard:
GMALLOC=1 mgmt/parallel-run-tests.sh
re:
@test -d build || echo "Can't resume: no build folder\n"
@test -d build && pushd build && make -j8 && popd
test:
@test -d build || echo "Can't run tests: no build folder\n"
@test -d build && pushd build && ctest -j8 -D Experimental --output-on-failure && popd
checkall:
@test -d build || echo "Can't run tests: no build folder\n"
@test -d build && pushd build && ./imread_tests --success --durations yes --abortx 10 && popd
check:
@test -d build || echo "Can't run tests: no build folder\n"
@test -d build && pushd build && ./imread_tests --durations yes --abortx 20 && popd
scantests:
tests/scripts/generate-test-filemap.py > apps/TestDataViewer/TestDataViewer/TestData.plist
clean:
mgmt/clean.sh
.PHONY: all multi solo clean guard