langtools/test/Makefile
changeset 35352 5558ce88298a
parent 28141 a9bd48f9cf07
child 35354 a9c8e2634f92
--- 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