changeset 5235:0f648fbe4404

8024056: runtime/InitialThreadOverflow/testme.sh fails Summary: on some macines gcc not able to link cxx program Reviewed-by: dholmes
author dsamersoff
date Wed, 11 Sep 2013 14:30:17 +0400
parents b6767a18b379
children 1c6b721a3fbf
files test/runtime/InitialThreadOverflow/testme.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/InitialThreadOverflow/testme.sh	Mon Sep 09 14:44:37 2013 -0400
+++ b/test/runtime/InitialThreadOverflow/testme.sh	Wed Sep 11 14:30:17 2013 +0400
@@ -43,9 +43,9 @@
   exit 0
 fi
 
-gcc_cmd=`which gcc`
-if [ "x$gcc_cmd" == "x" ]; then
-    echo "WARNING: gcc not found. Cannot execute test." 2>&1
+gcc_cmd=`which g++`
+if [ "x$gcc_cmd" = "x" ]; then
+    echo "WARNING: g++ not found. Cannot execute test." 2>&1
     exit 0;
 fi