From: Michael Wetherell Date: Wed, 12 Dec 2007 21:41:56 +0000 (+0000) Subject: Add support for the Windows Testdrive machines, and other improvments. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/801be649ff25a84c22005b477d6f727603644845?ds=inline;hp=f07d9b9777c814392ea0859837b88ed9ab21a9a5 Add support for the Windows Testdrive machines, and other improvments. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/buildbot/config/common.xml b/build/buildbot/config/common.xml index 3a8c77787f..c2f94913ab 100644 --- a/build/buildbot/config/common.xml +++ b/build/buildbot/config/common.xml @@ -9,12 +9,9 @@ Licence: wxWidgets licence --> - + - + - - sunday_6am - 6 - 0 - - - - monday_6am - 6 - 1 - - - - tuesday_6am - 6 - 2 - - - - wednesday_6am - 6 - 3 - - - - thursday_6am - 6 - 4 - - - - friday_6am - 6 - 5 - - - - saturday_6am - 6 - 6 - + + + + + + + - - daily_6am - 6 - + - + - + example_gtk - trunk_quick + monday_0600 - - - - - - + diff --git a/build/buildbot/config/include.xml b/build/buildbot/config/include.xml deleted file mode 100644 index 03e17fdb7a..0000000000 --- a/build/buildbot/config/include.xml +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - -http://svn.wxwidgets.org/svn/wx/wxWidgets/ -branches/WX_2_8_BRANCH - - - - - - - - - - - - - - - - - - - - - - - - - - - ./configure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - compile - - - compiling - - - compile - - - - - - - - cd && - - - - - - - - - - running tests - run tests - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/buildbot/config/include/defs.xml b/build/buildbot/config/include/defs.xml new file mode 100644 index 0000000000..98e14a9e02 --- /dev/null +++ b/build/buildbot/config/include/defs.xml @@ -0,0 +1,742 @@ + + + + + + + +http://svn.wxwidgets.org/svn/wx/wxWidgets/ +branches/WX_2_8_BRANCH + + + + + + + + + + + + + + + + + + + + + + + + + + + ./configure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + build/msw + . + + + + + + + samples + samples/console + + + + + + + utils + utils/tex2rtf/src ../../HelpGen/src + + + + + demos + + contrib + + tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + && + + + + + + + + + cd && + + + + + + + + + + + + running tests + run tests + + + + + + + + + + + + + + + + + + + + +cd tests && +(for /d %x in (..\lib\*_dll) do @PATH=%x;%PATH%) && +(for /d %x in (*) do @if exist %x\test.exe %x\test) && +(for /d %x in (*) do @if exist %x\test_gui.exe %x\test_gui) + + + + + +cd tests && +./test && +if [ -x test_gui ]; then ./test_gui; fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + abcdefghijklmnopqrstuvwxyz + ABCDEFGHIJKLMNOPQRSTUVWXYZ + + + + + + + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + + + + + + + + sunday + monday + tuesday + wednesday + thursday + friday + saturday + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + _ + + + + + + diff --git a/build/buildbot/config/include/testdrive-unix.xml b/build/buildbot/config/include/testdrive-unix.xml new file mode 100644 index 0000000000..7ad24c8867 --- /dev/null +++ b/build/buildbot/config/include/testdrive-unix.xml @@ -0,0 +1,210 @@ + + + + + + + + + + + +mkdir -p $TOPDIR +chown $USER $TOPDIR +rm -rf $BUILDDIR +cp -pR . $BUILDDIR || { cd; rm -rf $BUILDDIR; exit 1; } + + + + + + + + + + ./configure --disable-precomp-headers + + find . -name Makefile | xargs perl -pi -e 's/^(?:CC|CXX) = /$&ccache /' + + + + + + + + + + + + +setting up +set up + + +MINSPACE=1000000 +DSPACE=`df -Pk $BUILDDIR | tail -1 | awk '{ print $4 }'` +if [ $DSPACE -lt $MINSPACE ]; then + echo "Disk space low, skipping build" + exit 1 +fi +if [ -z "$CCACHE_DIR" ]; then + gunzip -c $HOME/src/ccache-*.tar.gz | tar xf - + cd ccache-* + + make + strip ccache + make install + cd $BUILDDIR + rm -r ccache-* +fi +if { cppunit-config --version || "$CPPUNIT_CONFIG" --version; } 2>/dev/null; then + HAVE_CPPUNIT=1 +fi +if [ -z "$HAVE_CPPUNIT" ]; then + gunzip -c $HOME/src/cppunit-*.tar.gz | tar xf - + cd cppunit-* + + make install-strip + chmod +x $OPTDIR/bin/cppunit-config + cd $BUILDDIR + rm -rf cppunit-* +fi + + + + + + + +set -e +uname -smnr +umask 022 +LANG=C +TOPDIR= +BUILDDIR=$TOPDIR/build +OPTDIR=$HOME/opt/ + + + + + + +INSTALLDIR=$TOPDIR/install +case `uname -sm` in + Linux*86*) PATH=$HOME/linux-x86/bin:$PATH ;; +esac +PATH=$OPTDIR/bin:$PATH +LD_LIBRARY_PATH=$BUILDDIR/lib:$OPTDIR/lib:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH +if { ccache -V; } >/dev/null 2>&1; then + CCACHE_DIR=$TOPDIR/ccache + export CCACHE_DIR + ccache -M 90M +fi +cd $BUILDDIR +trap 'cd; rm -rf $BUILDDIR' EXIT + + + + + + + + trap '' EXIT + + + + + + + + + + + + + + + + + /tmp/wx/ + + + + + + + + + + + + + + + + + + + + diff --git a/build/buildbot/config/include/testdrive-win.xml b/build/buildbot/config/include/testdrive-win.xml new file mode 100644 index 0000000000..867887df38 --- /dev/null +++ b/build/buildbot/config/include/testdrive-win.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + +if exist "%BUILDDIR%" (rmdir /s/q "%BUILDDIR%" || exit 1) +xcopy /s/q/i . "%BUILDDIR%" || (rmdir /s/q "%BUILDDIR%" & exit 1) + + + + + + +set BUILDDIR=%USERPROFILE%\build + + + + + + + + + + + + + + + + + + + + + + + + + + + + +call "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.Cmd" /SRV64 +set LINK=bufferoverflowu.lib +cd /d "%BUILDDIR%" + + + +call h:\cygwin\cyg-vars.bat +cd /d "%BUILDDIR%" +sh -c \ + + + +cd /d "%BUILDDIR%" + + + + + + + + + + + + + + if ERRORLEVEL 1 () + + + + + + + +cd /d "%USERPROFILE%" & rmdir /s/q "%BUILDDIR%" & exit %ERRORLEVEL% + + + diff --git a/build/buildbot/config/include/testdrive.xml b/build/buildbot/config/include/testdrive.xml new file mode 100644 index 0000000000..e9f7c9f3c9 --- /dev/null +++ b/build/buildbot/config/include/testdrive.xml @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/buildbot/config/testdrive-inc.xml b/build/buildbot/config/testdrive-inc.xml deleted file mode 100644 index 71242d4281..0000000000 --- a/build/buildbot/config/testdrive-inc.xml +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -mkdir -p $TOPDIR -chown $USER $TOPDIR -rm -rf $BUILDDIR -cp -pR . $BUILDDIR || { cd; rm -rf $BUILDDIR; exit 1; } - - - - - - - - - - ./configure --disable-precomp-headers - - find . -name Makefile | xargs perl -pi -e 's/^(?:CC|CXX) = /$&ccache /' - - - - - - - - - - - - -setting up -set up - - -MINSPACE=1000000 -DSPACE=`df -Pk $BUILDDIR | tail -1 | awk '{ print $4 }'` -if [ $DSPACE -lt $MINSPACE ]; then - echo "Disk space low, skipping build" - exit 1 -fi -if [ -z "$CCACHE_DIR" ]; then - gunzip -c $HOME/src/ccache-*.tar.gz | tar xf - - cd ccache-* - - make - strip ccache - make install - cd $BUILDDIR - rm -r ccache-* -fi -if { cppunit-config --version || "$CPPUNIT_CONFIG" --version; } 2>/dev/null; then - HAVE_CPPUNIT=1 -fi -if [ -z "$HAVE_CPPUNIT" ]; then - gunzip -c $HOME/src/cppunit-*.tar.gz | tar xf - - cd cppunit-* - - make install-strip - chmod +x $OPTDIR/bin/cppunit-config - cd $BUILDDIR - rm -rf cppunit-* -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -set -e -uname -smnr -umask 022 -LANG=C -TOPDIR= -BUILDDIR=$TOPDIR/build -OPTDIR=$HOME/opt/ - - - - - - -INSTALLDIR=$TOPDIR/install -case `uname -sm` in - Linux*86*) PATH=$HOME/linux-x86/bin:$PATH ;; -esac -PATH=$OPTDIR/bin:$PATH -LD_LIBRARY_PATH=$BUILDDIR/lib:$OPTDIR/lib:$LD_LIBRARY_PATH -export LD_LIBRARY_PATH -if { ccache -V; } >/dev/null 2>&1; then - CCACHE_DIR=$TOPDIR/ccache - export CCACHE_DIR - ccache -M 90M -fi -cd $BUILDDIR -trap 'cd; rm -rf $BUILDDIR' EXIT - - - - - - - - trap '' EXIT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/buildbot/config/testdrive-unix.xml b/build/buildbot/config/testdrive-unix.xml new file mode 100644 index 0000000000..1e9225117f --- /dev/null +++ b/build/buildbot/config/testdrive-unix.xml @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + Linux x86_64 wxGTK Trunk + td162.testdrive.hp.com + td_gtk + trunk_quick + + + + + + + + + + + + Linux x86_64 wxGTK Stable + td166.testdrive.hp.com + td_gtk_stable + stable_quick + + + + + + + + + + + + + + OSX 10.4 PowerPC wxMac Trunk + td179.testdrive.hp.com + td_mac + trunk_quick + + + + + + + + + + + OSX 10.4 Intel wxMac Stable + td186.testdrive.hp.com + td_mac_stable + stable_quick + + + + + + + + + + + + + MinGW32 wxMSW Trunk + td185.testdrive.hp.com + td_msw + trunk_quick + + + + + + + + + + MinGW32 wxMSW Stable + td189.testdrive.hp.com + td_msw_stable + stable_quick + + + + + + + + + + + + FreeBSD x86 wxX11 Trunk + td152.testdrive.hp.com + td_freebsd + daily_0600 + + + + + + + + + + + + FreeBSD x86 wxX11 Stable + td152.testdrive.hp.com + td_freebsd_stable + + + + + + + + + + + + + HP-UX 11i PA-RISC gcc wxMotif Stable + td192.testdrive.hp.com + td_hpux_pa_stable + daily_0600 + + + + + + + + + + + + + + + + + --host=i686-pc-cygwin + --with-cppunit-prefix=$HOME/cygwin + + + + + + --x-includes=$HOME/cygwin/usr/X11R6/include + --x-libraries=$HOME/cygwin/usr/X11R6/lib + PKG_CONFIG_PATH=$HOME/opt/cygwin/pkgconfig + + + + Cygwin wxMSW Trunk + td_cygwin_msw + td166.testdrive.hp.com + monday_0600 + + + + + + + + + + Cygwin wxMSW Stable + td_cygwin_msw_stable + + + + + + + + + + + Cygwin wxGTK Trunk + td_cygwin_gtk + + + + + + + + + + + Cygwin wxGTK Stable + td_cygwin_gtk_stable + + + + + + + + + + + + + + + --host=i686-pc-cygwin + --with-cppunit-prefix=$HOME/opt/nocygwin + CC='i686-pc-cygwin-gcc -mno-cygwin' + CXX='i686-pc-cygwin-g++ -mno-cygwin' + + + + Cygwin no-cygwin wxMSW Trunk + td_nocygwin + td166.testdrive.hp.com + monday_0600 + + + + + + + + + + Cygwin no-cygwin wxMSW Stable + td_nocygwin_stable + + + + + + + + + + + + diff --git a/build/buildbot/config/testdrive.xml b/build/buildbot/config/testdrive.xml deleted file mode 100644 index 58c3ecdd89..0000000000 --- a/build/buildbot/config/testdrive.xml +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - Linux x86_64 wxGTK Trunk - td162.testdrive.hp.com - /tmp/wx/td_gtk - trunk_quick - - - - - - - - - - - - - - - - - - Linux x86_64 wxGTK Stable - td166.testdrive.hp.com - /tmp/wx/td_gtk_stable - stable_quick - - - - - - - - - - - - - - - - - - - - - OSX 10.4 PowerPC wxMac Trunk - td179.testdrive.hp.com - /tmp/wx/td_mac - trunk_quick - - - - - - - - - - - - - - - - OSX 10.4 Intel wxMac Stable - td186.testdrive.hp.com - /tmp/wx/td_mac_stable - stable_quick - - - - - - - - - - - - - - - - - - - MinGW32 wxMSW Trunk - td185.testdrive.hp.com - /tmp/wx/td_msw - trunk_quick - - - - - - - - - - - - - - - MinGW32 wxMSW Stable - td189.testdrive.hp.com - /tmp/wx/td_msw_stable - stable_quick - - - - - - - - - - - - - - - - - - FreeBSD x86 wxX11 Trunk - td152.testdrive.hp.com - /tmp/wx/td_freebsd - daily_6am - - - - - - - - - - - - - - - - - - FreeBSD x86 wxX11 Stable - td152.testdrive.hp.com - /tmp/wx/td_freebsd_stable - daily_6am - - - - - - - - - - - - - - - - - - - HP-UX 11i PA-RISC gcc wxMotif Stable - td192.testdrive.hp.com - /tmp/wx/td_hpux_pa_stable - daily_6am - - - - - - - - - - - - - - - - - - diff --git a/build/buildbot/tools/embedded.xsl b/build/buildbot/tools/embedded.xsl index ee429f0f60..ca192823cc 100644 --- a/build/buildbot/tools/embedded.xsl +++ b/build/buildbot/tools/embedded.xsl @@ -19,44 +19,49 @@ + name="root" + select="//*[not(ancestor-or-self::*[name() != name(/*)])]"/> + name="includes" + select="$root[position() > 1]"/> + xmlns:func="http://exslt.org/functions" + name="top-level" + select="$root/xsl:import | + $root/xsl:include | + $root/xsl:attribute-set | + $root/xsl:character-map | + $root/xsl:decimal-format | + $root/xsl:function | + $root/xsl:import-schema | + $root/xsl:key | + $root/xsl:namespace-alias | + $root/xsl:output | + $root/xsl:param | + $root/xsl:preserve-space | + $root/xsl:strip-space | + $root/xsl:template | + $root/xsl:variable | + $root/func:function"/> @@ -66,11 +71,22 @@ + + + + - - + + + + + + + + + @@ -78,7 +94,7 @@ - + @@ -89,7 +105,7 @@ - + + @@ -181,8 +236,13 @@ + + + + + - +