]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Remove unused canttest macro
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 11 Mar 2011 20:35:10 +0000 (21:35 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 12 Mar 2011 16:07:40 +0000 (17:07 +0100)
This macro was used by the old OMK test suite and it is not needed anymore.

snippets/base.omk

index 62a1cc9e4376baf68823f66f8d335ff2d5145e23..6b962822a275ef14ffea4c6222fc5061629e4466 100644 (file)
@@ -57,17 +57,6 @@ all:
        @$(MAKE) -C $(MAKERULES_DIR) OMK_SERIALIZE_INCLUDED=n SOURCES_DIR=$(MAKERULES_DIR) RELATIVE_DIR="" $(MAKECMDGOALS) W=0
 endif
 
-ifdef OMK_TESTSROOT
-# Usage: $(call canttest,<error message>)
-define canttest
-       ( echo "$(1)" > $(OUTPUT_DIR)/_canttest; echo "$(1)"; exit 1 )
-endef
-else
-define canttest
-       echo "$(1)"
-endef
-endif
-
 #=========================
 # Include the config file