summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/polymorphism
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/parser/polymorphism')
-rw-r--r--tests/cxx/parser/polymorphism/makefile4
-rw-r--r--tests/cxx/parser/polymorphism/same-type/makefile5
2 files changed, 0 insertions, 9 deletions
diff --git a/tests/cxx/parser/polymorphism/makefile b/tests/cxx/parser/polymorphism/makefile
index a3c4f3e..f22c152 100644
--- a/tests/cxx/parser/polymorphism/makefile
+++ b/tests/cxx/parser/polymorphism/makefile
@@ -5,16 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make
-
tests := same-type
-
default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/parser/polymorphism/same-type/makefile b/tests/cxx/parser/polymorphism/same-type/makefile
index ff4183d..bf627ab 100644
--- a/tests/cxx/parser/polymorphism/same-type/makefile
+++ b/tests/cxx/parser/polymorphism/same-type/makefile
@@ -39,22 +39,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \