From 801be649ff25a84c22005b477d6f727603644845 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Wed, 12 Dec 2007 21:41:56 +0000 Subject: [PATCH 1/1] 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 --- build/buildbot/config/common.xml | 60 +- build/buildbot/config/example.xml | 76 +- build/buildbot/config/include.xml | 340 -------- build/buildbot/config/include/defs.xml | 742 ++++++++++++++++++ .../testdrive-unix.xml} | 156 +--- .../buildbot/config/include/testdrive-win.xml | 108 +++ build/buildbot/config/include/testdrive.xml | 155 ++++ build/buildbot/config/testdrive-unix.xml | 408 ++++++++++ build/buildbot/config/testdrive.xml | 252 ------ build/buildbot/tools/embedded.xsl | 136 +++- 10 files changed, 1594 insertions(+), 839 deletions(-) delete mode 100644 build/buildbot/config/include.xml create mode 100644 build/buildbot/config/include/defs.xml rename build/buildbot/config/{testdrive-inc.xml => include/testdrive-unix.xml} (55%) create mode 100644 build/buildbot/config/include/testdrive-win.xml create mode 100644 build/buildbot/config/include/testdrive.xml create mode 100644 build/buildbot/config/testdrive-unix.xml delete mode 100644 build/buildbot/config/testdrive.xml 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/testdrive-inc.xml b/build/buildbot/config/include/testdrive-unix.xml similarity index 55% rename from build/buildbot/config/testdrive-inc.xml rename to build/buildbot/config/include/testdrive-unix.xml index 71242d4281..7ad24c8867 100644 --- a/build/buildbot/config/testdrive-inc.xml +++ b/build/buildbot/config/include/testdrive-unix.xml @@ -1,8 +1,8 @@ - - - - - - - - - - - - - - - - - - - - - mkdir -p $TOPDIR @@ -69,7 +43,7 @@ cp -pR . $BUILDDIR || { cd; rm -rf $BUILDDIR; exit 1; } - ./configure --disable-precomp-headers + ./configure --disable-precomp-headers find . -name Makefile | xargs perl -pi -e 's/^(?:CC|CXX) = /$&ccache /' @@ -132,64 +106,7 @@ fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -197,14 +114,14 @@ set -e uname -smnr umask 022 LANG=C -TOPDIR= +TOPDIR= BUILDDIR=$TOPDIR/build OPTDIR=$HOME/opt/ @@ -226,7 +143,7 @@ cd $BUILDDIR @@ -237,43 +154,36 @@ cd $BUILDDIR - + - - - + + + - - - - - + + + + /tmp/wx/ - - - - - - + + + + + + + + + +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-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 @@ + + + + + - + -- 2.45.2