8032498: compiler/ciReplay tests fail with StatusError: failed to clean up files after test...
authoriignatyev
Mon, 19 May 2014 23:52:23 +0400
changeset 24483 ee49edf1d748
parent 24482 5fc5c8f199e6
child 24485 165c44e3edbb
8032498: compiler/ciReplay tests fail with StatusError: failed to clean up files after test... Reviewed-by: kvn
hotspot/test/compiler/ciReplay/TestVM.sh
hotspot/test/compiler/ciReplay/TestVM_no_comp_level.sh
hotspot/test/compiler/ciReplay/common.sh
--- a/hotspot/test/compiler/ciReplay/TestVM.sh	Fri May 16 14:38:42 2014 -0700
+++ b/hotspot/test/compiler/ciReplay/TestVM.sh	Mon May 19 23:52:23 2014 +0400
@@ -26,7 +26,6 @@
 ##
 ## @test
 ## @bug 8011675
-## @ignore 8032498
 ## @summary testing of ciReplay with using generated by VM replay.txt 
 ## @author igor.ignatyev@oracle.com
 ## @run shell TestVM.sh
--- a/hotspot/test/compiler/ciReplay/TestVM_no_comp_level.sh	Fri May 16 14:38:42 2014 -0700
+++ b/hotspot/test/compiler/ciReplay/TestVM_no_comp_level.sh	Mon May 19 23:52:23 2014 +0400
@@ -26,7 +26,6 @@
 ##
 ## @test
 ## @bug 8011675
-## @ignore 8032498
 ## @summary testing of ciReplay with using generated by VM replay.txt w/o comp_level
 ## @author igor.ignatyev@oracle.com
 ## @run shell TestVM_no_comp_level.sh
--- a/hotspot/test/compiler/ciReplay/common.sh	Fri May 16 14:38:42 2014 -0700
+++ b/hotspot/test/compiler/ciReplay/common.sh	Mon May 19 23:52:23 2014 +0400
@@ -234,6 +234,12 @@
             sed -e 's/.*location: //'`
     echo CRASH OUTPUT:
     cat crash.out    
+    
+    if [ "${core_locations}" = "" ]
+    then
+        test_fail 2 "CHECK :: CORE_LOCATION" "output doesn't contain the location of core file, see crash.out"
+    fi
+
     rm crash.out 
     
     # processing core locations for *nix