8079545: [TESTBUG] hotspot_basicvmtest doesn't fail even if VM crashes
authormikael
Wed, 06 May 2015 17:42:24 -0700
changeset 30594 e1b420c520a0
parent 30593 69f942690128
child 30595 1416b16e7f55
8079545: [TESTBUG] hotspot_basicvmtest doesn't fail even if VM crashes Reviewed-by: ctornqvi, dholmes
hotspot/test/Makefile
--- a/hotspot/test/Makefile	Tue May 05 12:33:57 2015 -0700
+++ b/hotspot/test/Makefile	Wed May 06 17:42:24 2015 -0700
@@ -368,6 +368,10 @@
 	for variant in $(JVM_VARIANTS);                                           \
 	do                                                                        \
 	    $(MAKE) JAVA_ARGS="$(JAVA_ARGS) -$$variant" hotspot_$${variant}test;  \
+	    res=$$?;                                                              \
+	    if [ $$res -ne 0 ]; then                                              \
+	        exit $$res;                                                       \
+	    fi;                                                                   \
 	done
 
 PHONY_LIST += hotspot_basicvmtest