]> git.saurik.com Git - wxWidgets.git/blame - build/buildbot/config/run-tests.sh
Register multibutton editor class in frame ctor instead of CreateGrid() (this fixes...
[wxWidgets.git] / build / buildbot / config / run-tests.sh
CommitLineData
c005fb28
MW
1# Run the test suites
2# Running them one at a time gives more readable results and shows up errors
3# in the suite names.
4set -e
5cd tests
6
7case `uname -sm` in
8 CYGWIN*|MINGW32*) PATH=../lib:$PATH ;;
9 Darwin*) DYLD_LIBRARY_PATH=../lib:$DYLD_LIBRARY_PATH ;;
10 *) LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ;;
11esac
12
13test -x test_gui && TEST_GUI=./test_gui
14ERR=0
15
16for prog in ./test $TEST_GUI; do
17 if [ -x $prog ]; then
18 SUITES=`$prog -l | grep '^ [^ ]'`
19 for SUITE in $SUITES; do
20 echo
21 echo $SUITE
22 echo $SUITE | sed 's/./-/g'
23 $prog $SUITE || ERR=1
24 echo
25 done
26 fi
27done
28
29exit $ERR