http://svn.wxwidgets.org/svn/wx/wxWidgets/ branches/WX_2_8_BRANCH branches/WX_2_9_0_BRANCH http://biolpc22.york.ac.uk/pub ./configure build/msw . samples samples/console utils utils/tex2rtf/src ../../HelpGen/src demos contrib tests && cd && running tests run tests cd tests && runtests.bat ERR=0 cd tests || exit 0 ulimit -c unlimited try() { rm -f core echo Running: "$@" "$@" || ERR=$? if [ -f core -a -x "`which gdb`" ]; then echo Crashed, attempting to display backtrace: gdb -batch -c core -ex 'set pagination off' -ex bt "$1" fi echo } try ./test test -x test_gui || exit $ERR if [ -z "$DISPLAY" ]; then echo '$DISPLAY is not set, skipping GUI tests.' exit $ERR fi echo 'Checking window manager:' WINDOW_MANAGER=$(xprop -root 32x '\n$0\n' _NET_SUPPORTING_WM_CHECK | grep ^0x) if [ -z "$WINDOW_MANAGER" ]; then echo 'Window manager not present, skipping GUI tests.' exit $ERR fi xprop -id $WINDOW_MANAGER 8s _NET_WM_NAME echo try ./test_gui exit $ERR abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0 1 2 3 4 5 6 monday tuesday wednesday thursday friday saturday sunday _ _ -at- @ noreply -at- wxsite.net