diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-28 00:41:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-28 00:41:11 +0000 |
commit | c40c7db317c01c8917c371e4756a5d25ab7c9c62 (patch) | |
tree | 2a759e9bd4085ae918a9c88cafb5d30712c9540b /test/Test.mak | |
parent | a064dbc0c36f9c714b5824121953870328397d94 (diff) |
fail if test.c is found so i stop screwing myself up
Diffstat (limited to 'test/Test.mak')
-rw-r--r-- | test/Test.mak | 4 |
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) |