X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/801be649ff25a84c22005b477d6f727603644845..de8fe8ca3db62aa69a00f9547367c223ba59a23e:/build/buildbot/config/include/testdrive-unix.xml diff --git a/build/buildbot/config/include/testdrive-unix.xml b/build/buildbot/config/include/testdrive-unix.xml index 7ad24c8867..56f450a9ad 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 + + +