summaryrefslogtreecommitdiff
path: root/test/Test.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-28 00:41:11 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-28 00:41:11 +0000
commitc40c7db317c01c8917c371e4756a5d25ab7c9c62 (patch)
tree2a759e9bd4085ae918a9c88cafb5d30712c9540b /test/Test.mak
parenta064dbc0c36f9c714b5824121953870328397d94 (diff)
fail if test.c is found so i stop screwing myself up
Diffstat (limited to 'test/Test.mak')
-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)