summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Test.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 24499fa4b..2a22da3fc 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -11,6 +11,10 @@ ifneq ($(TESTS_DISABLED),)
TESTS := $(filter-out $(TESTS_DISABLED),$(TESTS))
endif
+ifneq ($(filter-out test,$(TESTS)),$(TESTS))
+$(error Sanity check: cannot have a test named "test.c")
+endif
+
include ../Rules.mak
U_TARGETS := $(TESTS)