Include TESTDIRS when converting to run-test-prebuilt. ihse-testmakefiles-branch
authorihse
Tue, 28 Nov 2017 02:18:33 +0100
branchihse-testmakefiles-branch
changeset 55898 6cc28607473e
parent 55897 37bbbe941c86
child 55899 789766475fe4
Include TESTDIRS when converting to run-test-prebuilt.
test/Makefile
--- a/test/Makefile	Tue Nov 28 01:56:18 2017 +0100
+++ b/test/Makefile	Tue Nov 28 02:18:33 2017 +0100
@@ -121,7 +121,7 @@
 	    $(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
 	    run-test-prebuilt OUTPUTDIR=$(TEST_OUTPUT_DIR) BOOT_JDK=$(JT_JAVA) \
 	    JT_HOME=$(JT_HOME) JDK_IMAGE_DIR=$(PRODUCT_HOME) \
-	    TEST_IMAGE_DIR=$(TEST_IMAGE_DIR) TEST="$(TEST_SELECTION)" )
+	    TEST_IMAGE_DIR=$(TEST_IMAGE_DIR) TEST="$(patsubst ../%,%,$(TESTDIRS)):$(TEST_SELECTION)" )
 else
   jtreg_tests:
 	$(MAKE) --no-print-directory TESTDIRS=$(TESTDIRS_TESTS) \