From 1bce1af9738d2d89749126379c11fc1e69b54ea7 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Mon, 27 Nov 2017 19:15:24 +0100 Subject: [PATCH] 8191856: "make clean-test" does not work properly Reviewed-by: erikj --- make/Main.gmk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/Main.gmk b/make/Main.gmk index 75d26fcadab..b57489ac277 100644 --- a/make/Main.gmk +++ b/make/Main.gmk @@ -1049,7 +1049,7 @@ ALL_TARGETS += default jdk images docs bundles all # file. CLEAN_DIRS += hotspot jdk bootcycle-build test buildtools support \ - images make-support test-make bundles buildjdk + images make-support test-make bundles buildjdk test-results test-support CLEAN_DIR_TARGETS := $(addprefix clean-, $(CLEAN_DIRS)) CLEAN_SUPPORT_DIRS += demos CLEAN_SUPPORT_DIR_TARGETS := $(addprefix clean-, $(CLEAN_SUPPORT_DIRS)) @@ -1094,6 +1094,8 @@ $(CLEAN_MODULE_PHASE_TARGETS): # while classes and touch files end up in jdk. clean-support: clean-jdk +clean-test: clean-test-results clean-test-support + # Remove everything, including configure configuration. If the output # directory was created by configure and now becomes empty, remove it as well. dist-clean: clean