Add Studio 12.5 compile/link test

pull/263/head
Jeffrey Walton 2016-07-08 18:08:55 -04:00
parent c6a7de658b
commit e78bb2073f
1 changed files with 3 additions and 3 deletions

View File

@ -2660,7 +2660,7 @@ if [[ "$IS_SOLARIS" -ne "0" ]]; then
############################################ ############################################
# Sun Studio 12.5 # Sun Studio 12.5
if [[ (-e "/opt/solarisstudio12.5/bin/CC") ]]; then if [[ (-e "/opt/developerstudio12.5/bin/CC") ]]; then
############################################ ############################################
# Debug build # Debug build
@ -2674,7 +2674,7 @@ if [[ "$IS_SOLARIS" -ne "0" ]]; then
rm -f adhoc.cpp > /dev/null 2>&1 rm -f adhoc.cpp > /dev/null 2>&1
export CXXFLAGS="-DDEBUG -g3 -xO1" export CXXFLAGS="-DDEBUG -g3 -xO1"
"$MAKE" "${MAKEARGS[@]}" CXX=/opt/solarisstudio12.5/bin/CC static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS" "$MAKE" "${MAKEARGS[@]}" CXX=/opt/developerstudio12.5/bin/CC static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS"
if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then
echo "ERROR: failed to make cryptest.exe" | tee -a "$TEST_RESULTS" echo "ERROR: failed to make cryptest.exe" | tee -a "$TEST_RESULTS"
@ -2701,7 +2701,7 @@ if [[ "$IS_SOLARIS" -ne "0" ]]; then
rm -f adhoc.cpp > /dev/null 2>&1 rm -f adhoc.cpp > /dev/null 2>&1
export CXXFLAGS="-DNDEBUG -g2 -xO2" export CXXFLAGS="-DNDEBUG -g2 -xO2"
"$MAKE" "${MAKEARGS[@]}" CXX=/opt/solarisstudio12.5/bin/CC static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS" "$MAKE" "${MAKEARGS[@]}" CXX=/opt/developerstudio12.5/bin/CC static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS"
if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then
echo "ERROR: failed to make cryptest.exe" | tee -a "$TEST_RESULTS" echo "ERROR: failed to make cryptest.exe" | tee -a "$TEST_RESULTS"