Fix script when passing expectation files.

They should be passed individually, instead of ':' separated.

Test: run-libjdwp-tests.sh
Change-Id: I330597dafc7f7ad0fbcfb7e455725a9cfce610d4
diff --git a/tools/run-libjdwp-tests.sh b/tools/run-libjdwp-tests.sh
index 408676a..efb2737 100755
--- a/tools/run-libjdwp-tests.sh
+++ b/tools/run-libjdwp-tests.sh
@@ -132,10 +132,10 @@
   args+=(-Xplugin:libopenjdkjvmti.so)
 fi
 
-expect_path=$PWD/art/tools/external_oj_libjdwp_art_failures.txt
+expectations="--expectations $PWD/art/tools/external_oj_libjdwp_art_failures.txt"
 
 if [[ "$debug" = "yes" && "$has_gcstress" = "yes" ]]; then
-  expect_path=$expect_path:$PWD/art/tools/external_oj_libjdwp_art_gcstress_debug_failures.txt
+  expectations="$expectations --expectations $PWD/art/tools/external_oj_libjdwp_art_gcstress_debug_failures.txt"
 fi
 
 function verbose_run() {
@@ -155,4 +155,4 @@
             --jdwp-path "libjdwp.so"      \
             --vm-arg -Djpda.settings.debuggeeAgentExtraOptions=coredump=y \
             --vm-arg -Djpda.settings.testSuiteType=libjdwp \
-            --expectations "$expect_path"
+            "$expectations"