8147930: Langtools test Makefile still requires special make in Cygwin
authorerikj
Thu, 21 Jan 2016 15:11:53 +0100
changeset 35352 5558ce88298a
parent 35351 2c8aa590f3d5
child 35353 c1715f18d702
8147930: Langtools test Makefile still requires special make in Cygwin Reviewed-by: ihse
langtools/test/Makefile
--- 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