8010267: Add test-clean for cleaning of testoutput directory from output directory. Add depedency on test-clean to clean
authormduigou
Mon, 01 Apr 2013 11:48:01 -0700
changeset 16653 f7a6d4c675bb
parent 16420 0fe6f1afaf7c
child 16654 09c4f110096c
8010267: Add test-clean for cleaning of testoutput directory from output directory. Add depedency on test-clean to clean Reviewed-by: mchung, tbell
common/makefiles/Main.gmk
--- a/common/makefiles/Main.gmk	Fri Mar 15 23:08:07 2013 -0700
+++ b/common/makefiles/Main.gmk	Mon Apr 01 11:48:01 2013 -0700
@@ -197,7 +197,7 @@
 
 
 # Remove everything, except the output from configure.
-clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build clean-docs
+clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build clean-docs clean-test
 	@($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*)
 	@$(ECHO) Cleaned all build artifacts.
 
@@ -238,6 +238,8 @@
 clean-docs:
 	$(call CleanComponent,docs)
 	$(call CleanComponent,docstemp)
+clean-test:
+	$(call CleanComponent,testoutput)
 
 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install
 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only