Add buildbot tools and config include files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2007-10-04 15:55:18 +00:00
parent 86dd5aff13
commit c005fb2809
9 changed files with 1072 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
# Run the test suites
# Running them one at a time gives more readable results and shows up errors
# in the suite names.
set -e
cd tests
case `uname -sm` in
CYGWIN*|MINGW32*) PATH=../lib:$PATH ;;
Darwin*) DYLD_LIBRARY_PATH=../lib:$DYLD_LIBRARY_PATH ;;
*) LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ;;
esac
test -x test_gui && TEST_GUI=./test_gui
ERR=0
for prog in ./test $TEST_GUI; do
if [ -x $prog ]; then
SUITES=`$prog -l | grep '^ [^ ]'`
for SUITE in $SUITES; do
echo
echo $SUITE
echo $SUITE | sed 's/./-/g'
$prog $SUITE || ERR=1
echo
done
fi
done
exit $ERR