X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/801be649ff25a84c22005b477d6f727603644845..cb751f46a0db6efd12b1e8f9d1074e71b6249253:/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..9c18d83a2f 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 + + +