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:
29
build/buildbot/config/run-tests.sh
Executable file
29
build/buildbot/config/run-tests.sh
Executable 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
|
Reference in New Issue
Block a user