changeset 35352:5558ce88298a

8147930: Langtools test Makefile still requires special make in Cygwin Reviewed-by: ihse
author erikj
date Thu, 21 Jan 2016 15:11:53 +0100
parents 2c8aa590f3d5
children c1715f18d702
files langtools/test/Makefile
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/test/Makefile	Tue Jan 19 20:32:06 2016 -0800
+++ b/langtools/test/Makefile	Thu Jan 21 15:11:53 2016 +0100
@@ -412,7 +412,15 @@
 	fi
 
 # Check to make sure these directories exist
-check-jck: $(JCK_HOME) $(PRODUCT_HOME)
+check-jck:
+    if [ ! -d '$(JCK_HOME)' ]; then \
+        echo "JCK_HOME $(JCK_HOME) missing" ; \
+        $(EXIT) 1 ; \
+    fi
+    if [ ! -d '$(PRODUCT_HOME)' ]; then \
+        echo "PRODUCT_HOME $(PRODUCT_HOME) missing" ; \
+        $(EXIT) 1 ; \
+    fi
 
 all-summary: FRC
 	@if [ -n "`find $(TEST_OUTPUT_DIR) -name status.txt`" ]; then