X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb445ba73277eaed18c2fbb6c4714279bdff8bdb..5a049933b631443eaf71b1d9e484499d37bc3fe5:/build/buildbot/config/include/testdrive-unix.xml?ds=sidebyside diff --git a/build/buildbot/config/include/testdrive-unix.xml b/build/buildbot/config/include/testdrive-unix.xml index 7ad24c8867..38fc059236 100644 --- a/build/buildbot/config/include/testdrive-unix.xml +++ b/build/buildbot/config/include/testdrive-unix.xml @@ -32,6 +32,36 @@ cp -pR . $BUILDDIR || { cd; rm -rf $BUILDDIR; exit 1; } + + + +mkdir -p $TOPDIR +chown $USER $TOPDIR +rm -rf $BUILDDIR +SOURCE=`echo $SOURCE | sed "s|^[^/]|$HOME/&|"` +cd $TOPDIR +case $SOURCE in + *.tar.gz) + gunzip -c $SOURCE | tar xf - + ;; + *.tar.bz2) + bunzip2 -c $SOURCE | tar xf - + ;; + *.zip) + unzip $SOURCE + ;; +esac +mv wx* $BUILDDIR + + +