From ec6854c71b0f0241cb96782fe6e800885dd98eba Mon Sep 17 00:00:00 2001 From: rwarr627 Date: Mon, 30 Mar 2020 16:36:11 -0700 Subject: [PATCH] added test rule --- Makefile | 6 +++++- test/Makefile | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) 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)