run_test_su_osx 402 Bytes
Newer Older
1
#! /bin/sh
Martti Mela's avatar
Martti Mela committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

rc=0

run=no

export SU_PORT=CoreFoundation


if $VALGRIND ./test_su_osx ; then
    echo PASS: multithread test_su_osx with $SU_PORT
else
    echo FAIL: multithread test_su_osx with $SU_PORT failed
    rc=1
fi

if $VALGRIND ./test_su_osx -s ; then
    echo PASS: singlethread test_su_osx with $SU_PORT
else
    echo FAIL: singlethread test_su_osx with $SU_PORT failed
    rc=1
fi

exit $rc