8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build
authortpivovarova
Fri, 19 Dec 2014 14:12:22 +0300
changeset 28385 bec02e2cbde7
parent 28384 918bbbe51796
child 28386 06892f6d6d72
8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build Reviewed-by: kvn, fzhinkin, iignatyev
hotspot/test/compiler/ciReplay/TestSA.sh
hotspot/test/compiler/ciReplay/common.sh
--- a/hotspot/test/compiler/ciReplay/TestSA.sh	Sat Dec 13 00:13:05 2014 +0300
+++ b/hotspot/test/compiler/ciReplay/TestSA.sh	Fri Dec 19 14:12:22 2014 +0300
@@ -26,7 +26,7 @@
 ##
 ## @test
 ## @bug 8011675
-## @ignore 8031978
+## @ignore 8029528
 ## @summary testing of ciReplay with using generated by SA replay.txt 
 ## @author igor.ignatyev@oracle.com
 ## @run shell TestSA.sh
@@ -69,7 +69,6 @@
 
 echo "dumpreplaydata -a > ${replay_data}" | \
         ${JAVA} ${TESTOPTS} \
-        -cp ${TESTJAVA}${FS}lib${FS}sa-jdi.jar \
         sun.jvm.hotspot.CLHSDB  ${JAVA} ${core_file}
 
 if [ ! -s ${replay_data} ]
--- a/hotspot/test/compiler/ciReplay/common.sh	Sat Dec 13 00:13:05 2014 +0300
+++ b/hotspot/test/compiler/ciReplay/common.sh	Fri Dec 19 14:12:22 2014 +0300
@@ -263,10 +263,10 @@
         dir=`dirname $core_with_dir`
         file=`basename $core_with_dir`
         # add <core_path>/core.<pid> core
-        core_locations="'$core_with_dir' '$file'"
+        core_locations='$core_with_dir' '$file'
         if [ -n "${core_with_pid}" ]
         then
-            core_locations="$core_locations '$core_with_pid' '$dir${FS}$core_with_pid'"
+            core_locations=$core_locations '$core_with_pid' '$dir${FS}$core_with_pid'
         fi
     fi