summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1bc8d65..5fdbca7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -71,7 +71,7 @@ DEPS_TESTS = $(TESTS:%=%.d)
# targets
#
-.PHONY: clean
+.PHONY: check clean
all: $(TESTS) $(OBJS)
@@ -88,5 +88,8 @@ $(TESTS):
$(TEST_PRIVATE): 00-test.c $(OBJS) ../src/libseccomp.a
$(COMPILE_EXEC)
+check: $(TESTS)
+ ./regression
+
clean:
$(RM) $(DEPS_TESTS) $(DEPS_OBJS) $(TESTS) $(TEST_PRIVATE) $(OBJS) *.pyc