diff --git a/Makefile b/Makefile index edd1e90..24faedf 100644 --- a/Makefile +++ b/Makefile @@ -130,4 +130,8 @@ tidy: clean: 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 diff --git a/test/Makefile b/test/Makefile index a5b7dfe..027cb97 100644 --- a/test/Makefile +++ b/test/Makefile @@ -18,6 +18,7 @@ EXECUTABLES := \ large_array_growth all: $(EXECUTABLES) + make -C simple-memory-corruption clean: rm -f $(EXECUTABLES)