changeset 6492:cd47f4593a96

8032498: compiler/ciReplay tests fail with StatusError: failed to clean up files after test... Reviewed-by: kvn
author iignatyev
date Mon, 19 May 2014 23:52:23 +0400
parents 9a7285acfb28
children 670808fbebd3
files test/compiler/ciReplay/TestVM.sh test/compiler/ciReplay/TestVM_no_comp_level.sh test/compiler/ciReplay/common.sh
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/compiler/ciReplay/TestVM.sh	Fri May 16 14:38:42 2014 -0700
+++ b/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/test/compiler/ciReplay/TestVM_no_comp_level.sh	Fri May 16 14:38:42 2014 -0700
+++ b/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/test/compiler/ciReplay/common.sh	Fri May 16 14:38:42 2014 -0700
+++ b/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