# HG changeset patch # User mduigou # Date 1364842081 25200 # Node ID fc1e08c2bb27466275337882ce3b61bd40eb4658 # Parent 4984ac509993322f86a80ff3289b627beec6602a 8010267: Add test-clean for cleaning of testoutput directory from output directory. Add depedency on test-clean to clean Reviewed-by: mchung, tbell diff -r 4984ac509993 -r fc1e08c2bb27 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