8146985: Change output directory for hotspot's jtreg tests
authorehelin
Mon, 18 Jan 2016 17:12:34 +0100
changeset 35526 b0a52e3dd474
parent 35522 b0d68a5fc22b
child 35527 7dc2870c3171
8146985: Change output directory for hotspot's jtreg tests Reviewed-by: erikj, mikael
hotspot/test/Makefile
--- a/hotspot/test/Makefile	Mon Jan 18 15:11:47 2016 +0100
+++ b/hotspot/test/Makefile	Mon Jan 18 17:12:34 2016 +0100
@@ -121,11 +121,11 @@
 
 # Root of all test results
 ifdef ALT_OUTPUTDIR
-  ABS_BUILD_ROOT = $(ALT_OUTPUTDIR)/$(PLATFORM)-$(ARCH)
+  ABS_BUILD_ROOT = $(ALT_OUTPUTDIR)
 else
   ABS_BUILD_ROOT = $(TEST_ROOT)/../build/$(PLATFORM)-$(ARCH)
 endif
-ABS_TEST_OUTPUT_DIR = $(ABS_BUILD_ROOT)/testoutput
+ABS_TEST_OUTPUT_DIR = $(ABS_BUILD_ROOT)/testoutput/$(UNIQUE_DIR)
 
 # Expect JPRT to set PRODUCT_HOME (the product or jdk in this case to test)
 ifndef PRODUCT_HOME