summaryrefslogtreecommitdiff
path: root/lib/subunit/update.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-01-08 02:09:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-01-16 19:53:49 +1300
commit28577aae928847e64a0274b5922e26e1f15d9916 (patch)
tree78f6b36e8166d3320120df0e1bc91fef7ce8f9b1 /lib/subunit/update.sh
parentb6b46b4978dcaffa0cd9803c43b8a5f1c19e227e (diff)
downloadsamba-28577aae928847e64a0274b5922e26e1f15d9916.tar.gz
samba-28577aae928847e64a0274b5922e26e1f15d9916.tar.bz2
samba-28577aae928847e64a0274b5922e26e1f15d9916.zip
Import testtools as well, required for subunit.
Diffstat (limited to 'lib/subunit/update.sh')
-rwxr-xr-xlib/subunit/update.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/subunit/update.sh b/lib/subunit/update.sh
index 6d996cdfd5..f8265b188c 100755
--- a/lib/subunit/update.sh
+++ b/lib/subunit/update.sh
@@ -3,11 +3,14 @@
TARGETDIR="`dirname $0`"
WORKDIR="`mktemp -d`"
-bzr branch lp:subunit "$WORKDIR/subunit"
+bzr export "$WORKDIR/subunit" lp:subunit
+bzr export "$WORKDIR/testtools" lp:testtools
for p in python/ filters/tap2subunit;
do
rsync -avz --delete "$WORKDIR/subunit/$p" "$TARGETDIR/$p"
done
+rsync -avz --delete "$WORKDIR/testtools/testtools/" "$TARGETDIR/python/testtools/"
+
rm -rf "$WORKDIR"