added test rule

pull/107/head
rwarr627 2020-03-30 16:36:11 -07:00 committed by Daniel Micay
parent 6b987e644b
commit ec6854c71b
2 changed files with 6 additions and 1 deletions

View File

@ -130,4 +130,8 @@ tidy:
clean: clean:
rm -f libhardened_malloc.so $(OBJECTS) rm -f libhardened_malloc.so $(OBJECTS)
.PHONY: check clean tidy test: libhardened_malloc.so
make -C test/
-python -m unittest discover --start-directory test/
.PHONY: check clean tidy test

View File

@ -18,6 +18,7 @@ EXECUTABLES := \
large_array_growth large_array_growth
all: $(EXECUTABLES) all: $(EXECUTABLES)
make -C simple-memory-corruption
clean: clean:
rm -f $(EXECUTABLES) rm -f $(EXECUTABLES)