Changeset 20 for trunk/Couenne/test


Ignore:
Timestamp:
Nov 9, 2008 7:08:06 AM (12 years ago)
Author:
stefan
Message:

add Mumps to externals; let grandTest.sh return nonzero on failure and print output of failing tests

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        44ThirdParty/HSL https://projects.coin-or.org/svn/BuildTools/ThirdParty/HSL/trunk
        55ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk
         6ThirdParty/Mumps https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/trunk
        67CoinUtils https://projects.coin-or.org/svn/CoinUtils/trunk/CoinUtils
        78Cbc https://projects.coin-or.org/svn/Cbc/trunk/Cbc
  • trunk/Couenne/test/grandTest.sh.in

    r13 r20  
    55echo Testing Couenne:
    66echo
     7
     8failed=0
    79
    810for i in $srcdir/../test/config_files/*
     
    2527        cat $srcdir/../test/data/$name.obj      >> couenne.opt
    2628
    27         ../src/main/couenne $name | grep "Global Optimum Test"
    28 
    29         rm -f $name
     29        ../src/main/couenne $name >tmpfile 2>&1
     30        grep "Global Optimum Test .* OK" tmpfile
     31        if test $? != 0; then
     32          failed=1
     33          echo "Global Optimum Test on $name    FAILED!"
     34          echo
     35          echo " ---- 8< ---- Start of test program output ---- 8< ----"
     36          cat tmpfile
     37          echo " ---- 8< ----  End of test program output  ---- 8< ----"
     38          echo
     39        fi
     40        rm -f tmpfile
     41        rm -f $name
    3042        rm -f couenne.opt
    3143
     
    3345    echo
    3446done
     47
     48exit $failed
Note: See TracChangeset for help on using the changeset viewer.