diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -152,7 +152,7 @@ check-sanitize: $(TESTBIN).sanitize | |||
| 152 | # cannot reach. Built with the sanitizers on, so the tracker reports its own | 152 | # cannot reach. Built with the sanitizers on, so the tracker reports its own |
| 153 | # memory errors and the harness turns those into failures. | 153 | # memory errors and the harness turns those into failures. |
| 154 | PYTHON?=python3 | 154 | PYTHON?=python3 |
| 155 | FEATURES_integration=$(FEATURES) -DWANT_IP_FROM_QUERY_STRING | 155 | FEATURES_integration=$(FEATURES) -DWANT_IP_FROM_QUERY_STRING -DWANT_ACCESSLIST_BLACK |
| 156 | CFLAGS_integration=$(CFLAGS) $(OPTS_debug) $(FEATURES_integration) -fsanitize=address,undefined -fno-omit-frame-pointer | 156 | CFLAGS_integration=$(CFLAGS) $(OPTS_debug) $(FEATURES_integration) -fsanitize=address,undefined -fno-omit-frame-pointer |
| 157 | LDFLAGS_integration=$(LDFLAGS) -fsanitize=address,undefined | 157 | LDFLAGS_integration=$(LDFLAGS) -fsanitize=address,undefined |
| 158 | 158 | ||
| @@ -162,7 +162,13 @@ opentracker.integration: $(SOURCES) $(HEADERS) | |||
| 162 | check-integration: opentracker.integration | 162 | check-integration: opentracker.integration |
| 163 | OPENTRACKER=./opentracker.integration $(PYTHON) -m unittest discover -s tests/integration | 163 | OPENTRACKER=./opentracker.integration $(PYTHON) -m unittest discover -s tests/integration |
| 164 | 164 | ||
| 165 | .PHONY: all check check-sanitize check-integration clean install | 165 | # Everything, cheapest first, so a quick failure comes back quickly. |
| 166 | check-all: | ||
| 167 | $(MAKE) check | ||
| 168 | $(MAKE) check-sanitize | ||
| 169 | $(MAKE) check-integration | ||
| 170 | |||
| 171 | .PHONY: all check check-sanitize check-integration check-all clean install | ||
| 166 | 172 | ||
| 167 | clean: | 173 | clean: |
| 168 | rm -rf opentracker opentracker.debug opentracker.integration proxy proxy.debug $(TESTBIN) $(TESTBIN).sanitize *.o *~ | 174 | rm -rf opentracker opentracker.debug opentracker.integration proxy proxy.debug $(TESTBIN) $(TESTBIN).sanitize *.o *~ |
