8024056: runtime/InitialThreadOverflow/testme.sh fails

On some macines gcc not able to link cxx program

Reviewed-by: dholmes
This commit is contained in:
Dmitry Samersoff 2013-09-11 14:30:17 +04:00
parent 76033b1a37
commit eaa4cfd4a7

View File

@ -43,9 +43,9 @@ then
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