summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-31 03:19:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-31 03:19:18 +0200
commita8ac7fda573a924debf165d39eff3c1837240d4f (patch)
tree6085df961a5fbcc57a240d7065d2fc4a258cf170 /lib
parente4af3afd7ae3e39218b42a42d39c2ec10be9a642 (diff)
downloadsamba-a8ac7fda573a924debf165d39eff3c1837240d4f.tar.gz
samba-a8ac7fda573a924debf165d39eff3c1837240d4f.tar.bz2
samba-a8ac7fda573a924debf165d39eff3c1837240d4f.zip
Put testtools directly under lib/ to make it easier to install from Samba 4.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/subunit/update.sh17
-rw-r--r--lib/testtools/__init__.py (renamed from lib/subunit/python/testtools/__init__.py)0
-rw-r--r--lib/testtools/content.py (renamed from lib/subunit/python/testtools/content.py)0
-rw-r--r--lib/testtools/content_type.py (renamed from lib/subunit/python/testtools/content_type.py)0
-rw-r--r--lib/testtools/matchers.py (renamed from lib/subunit/python/testtools/matchers.py)0
-rwxr-xr-xlib/testtools/run.py (renamed from lib/subunit/python/testtools/run.py)0
-rw-r--r--lib/testtools/runtest.py (renamed from lib/subunit/python/testtools/runtest.py)0
-rw-r--r--lib/testtools/testcase.py (renamed from lib/subunit/python/testtools/testcase.py)0
-rw-r--r--lib/testtools/testresult/__init__.py (renamed from lib/subunit/python/testtools/testresult/__init__.py)0
-rw-r--r--lib/testtools/testresult/doubles.py (renamed from lib/subunit/python/testtools/testresult/doubles.py)0
-rw-r--r--lib/testtools/testresult/real.py (renamed from lib/subunit/python/testtools/testresult/real.py)0
-rw-r--r--lib/testtools/tests/__init__.py (renamed from lib/subunit/python/testtools/tests/__init__.py)0
-rw-r--r--lib/testtools/tests/helpers.py (renamed from lib/subunit/python/testtools/tests/helpers.py)0
-rw-r--r--lib/testtools/tests/test_content.py (renamed from lib/subunit/python/testtools/tests/test_content.py)0
-rw-r--r--lib/testtools/tests/test_content_type.py (renamed from lib/subunit/python/testtools/tests/test_content_type.py)0
-rw-r--r--lib/testtools/tests/test_matchers.py (renamed from lib/subunit/python/testtools/tests/test_matchers.py)0
-rw-r--r--lib/testtools/tests/test_runtest.py (renamed from lib/subunit/python/testtools/tests/test_runtest.py)0
-rw-r--r--lib/testtools/tests/test_testresult.py (renamed from lib/subunit/python/testtools/tests/test_testresult.py)0
-rw-r--r--lib/testtools/tests/test_testsuite.py (renamed from lib/subunit/python/testtools/tests/test_testsuite.py)0
-rw-r--r--lib/testtools/tests/test_testtools.py (renamed from lib/subunit/python/testtools/tests/test_testtools.py)0
-rw-r--r--lib/testtools/testsuite.py (renamed from lib/subunit/python/testtools/testsuite.py)0
-rw-r--r--lib/testtools/utils.py (renamed from lib/subunit/python/testtools/utils.py)0
-rwxr-xr-xlib/update-external.sh19
23 files changed, 19 insertions, 17 deletions
diff --git a/lib/subunit/update.sh b/lib/subunit/update.sh
deleted file mode 100755
index 1b27ba634c..0000000000
--- a/lib/subunit/update.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# Pull in a new snapshot of Subunit from the upstream bzr branch
-
-TARGETDIR="`dirname $0`"
-WORKDIR="`mktemp -d`"
-
-bzr export "$WORKDIR/subunit" lp:subunit
-bzr export "$WORKDIR/testtools" lp:testtools
-
-for p in python/ filters/ perl/
-do
- rsync -avz --delete "$WORKDIR/subunit/$p" "$TARGETDIR/$p"
-done
-
-rsync -avz --delete "$WORKDIR/testtools/testtools/" "$TARGETDIR/python/testtools/"
-
-rm -rf "$WORKDIR"
diff --git a/lib/subunit/python/testtools/__init__.py b/lib/testtools/__init__.py
index 0504d661d4..0504d661d4 100644
--- a/lib/subunit/python/testtools/__init__.py
+++ b/lib/testtools/__init__.py
diff --git a/lib/subunit/python/testtools/content.py b/lib/testtools/content.py
index 353e3f0f46..353e3f0f46 100644
--- a/lib/subunit/python/testtools/content.py
+++ b/lib/testtools/content.py
diff --git a/lib/subunit/python/testtools/content_type.py b/lib/testtools/content_type.py
index aded81b732..aded81b732 100644
--- a/lib/subunit/python/testtools/content_type.py
+++ b/lib/testtools/content_type.py
diff --git a/lib/subunit/python/testtools/matchers.py b/lib/testtools/matchers.py
index 039c84b7c7..039c84b7c7 100644
--- a/lib/subunit/python/testtools/matchers.py
+++ b/lib/testtools/matchers.py
diff --git a/lib/subunit/python/testtools/run.py b/lib/testtools/run.py
index c4f461ecfb..c4f461ecfb 100755
--- a/lib/subunit/python/testtools/run.py
+++ b/lib/testtools/run.py
diff --git a/lib/subunit/python/testtools/runtest.py b/lib/testtools/runtest.py
index 053e2205a7..053e2205a7 100644
--- a/lib/subunit/python/testtools/runtest.py
+++ b/lib/testtools/runtest.py
diff --git a/lib/subunit/python/testtools/testcase.py b/lib/testtools/testcase.py
index fd70141e6d..fd70141e6d 100644
--- a/lib/subunit/python/testtools/testcase.py
+++ b/lib/testtools/testcase.py
diff --git a/lib/subunit/python/testtools/testresult/__init__.py b/lib/testtools/testresult/__init__.py
index 2ee3d25293..2ee3d25293 100644
--- a/lib/subunit/python/testtools/testresult/__init__.py
+++ b/lib/testtools/testresult/__init__.py
diff --git a/lib/subunit/python/testtools/testresult/doubles.py b/lib/testtools/testresult/doubles.py
index d231c919c2..d231c919c2 100644
--- a/lib/subunit/python/testtools/testresult/doubles.py
+++ b/lib/testtools/testresult/doubles.py
diff --git a/lib/subunit/python/testtools/testresult/real.py b/lib/testtools/testresult/real.py
index 8c8a3edd6e..8c8a3edd6e 100644
--- a/lib/subunit/python/testtools/testresult/real.py
+++ b/lib/testtools/testresult/real.py
diff --git a/lib/subunit/python/testtools/tests/__init__.py b/lib/testtools/tests/__init__.py
index 2cceba91e2..2cceba91e2 100644
--- a/lib/subunit/python/testtools/tests/__init__.py
+++ b/lib/testtools/tests/__init__.py
diff --git a/lib/subunit/python/testtools/tests/helpers.py b/lib/testtools/tests/helpers.py
index c4cf10c736..c4cf10c736 100644
--- a/lib/subunit/python/testtools/tests/helpers.py
+++ b/lib/testtools/tests/helpers.py
diff --git a/lib/subunit/python/testtools/tests/test_content.py b/lib/testtools/tests/test_content.py
index 1159362036..1159362036 100644
--- a/lib/subunit/python/testtools/tests/test_content.py
+++ b/lib/testtools/tests/test_content.py
diff --git a/lib/subunit/python/testtools/tests/test_content_type.py b/lib/testtools/tests/test_content_type.py
index dbefc21dec..dbefc21dec 100644
--- a/lib/subunit/python/testtools/tests/test_content_type.py
+++ b/lib/testtools/tests/test_content_type.py
diff --git a/lib/subunit/python/testtools/tests/test_matchers.py b/lib/testtools/tests/test_matchers.py
index 74b1ebc56a..74b1ebc56a 100644
--- a/lib/subunit/python/testtools/tests/test_matchers.py
+++ b/lib/testtools/tests/test_matchers.py
diff --git a/lib/subunit/python/testtools/tests/test_runtest.py b/lib/testtools/tests/test_runtest.py
index 5c46ad1784..5c46ad1784 100644
--- a/lib/subunit/python/testtools/tests/test_runtest.py
+++ b/lib/testtools/tests/test_runtest.py
diff --git a/lib/subunit/python/testtools/tests/test_testresult.py b/lib/testtools/tests/test_testresult.py
index df15b91244..df15b91244 100644
--- a/lib/subunit/python/testtools/tests/test_testresult.py
+++ b/lib/testtools/tests/test_testresult.py
diff --git a/lib/subunit/python/testtools/tests/test_testsuite.py b/lib/testtools/tests/test_testsuite.py
index 3f2f02758f..3f2f02758f 100644
--- a/lib/subunit/python/testtools/tests/test_testsuite.py
+++ b/lib/testtools/tests/test_testsuite.py
diff --git a/lib/subunit/python/testtools/tests/test_testtools.py b/lib/testtools/tests/test_testtools.py
index af1fd794c3..af1fd794c3 100644
--- a/lib/subunit/python/testtools/tests/test_testtools.py
+++ b/lib/testtools/tests/test_testtools.py
diff --git a/lib/subunit/python/testtools/testsuite.py b/lib/testtools/testsuite.py
index 26b193799b..26b193799b 100644
--- a/lib/subunit/python/testtools/testsuite.py
+++ b/lib/testtools/testsuite.py
diff --git a/lib/subunit/python/testtools/utils.py b/lib/testtools/utils.py
index c0845b610c..c0845b610c 100644
--- a/lib/subunit/python/testtools/utils.py
+++ b/lib/testtools/utils.py
diff --git a/lib/update-external.sh b/lib/update-external.sh
new file mode 100755
index 0000000000..7cf95f3fb8
--- /dev/null
+++ b/lib/update-external.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Pull in a new snapshot of external projects that are included in
+# our source tree for users that don't have them installed on their system
+
+TARGETDIR="`dirname $0`"
+WORKDIR="`mktemp -d`"
+
+echo "Updating subunit..."
+bzr export "$WORKDIR/subunit" lp:subunit
+for p in python/ filters/ perl/
+do
+ rsync -avz --delete "$WORKDIR/subunit/$p" "$TARGETDIR/subunit/$p"
+done
+
+echo "Updating testtools..."
+bzr export "$WORKDIR/testtools" lp:testtools
+rsync -avz --delete "$WORKDIR/testtools/testtools/" "$TARGETDIR/testtools/"
+
+rm -rf "$WORKDIR"