--- a/make/common/FindTests.gmk Thu Nov 23 19:44:13 2017 +0100
+++ b/make/common/FindTests.gmk Fri Nov 24 09:21:38 2017 +0100
@@ -29,6 +29,9 @@
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, common/FindTests.gmk))
+# TEST_BASEDIRS might have been set by a custom extension
+TEST_BASEDIRS += $(TOPDIR)/test $(TOPDIR)
+
# JTREG_TESTROOTS might have been set by a custom extension
JTREG_TESTROOTS += $(addprefix $(TOPDIR)/test/, hotspot/jtreg jdk langtools nashorn jaxp)