[conduit: 36/138] Run soup instead of run-tests.sh
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit: 36/138] Run soup instead of run-tests.sh
- Date: Thu, 21 May 2009 03:29:58 -0400 (EDT)
commit 65464f20ec46f1861dcaf37edcc08a1bba267425
Author: John Carr <john carr unrouted co uk>
Date: Wed Apr 29 06:30:17 2009 -0700
Run soup instead of run-tests.sh
---
test/soup/run-tests.sh | 4 ----
test/soup/run.py | 9 ---------
test/soup/soup | 15 +++++++++++++++
3 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/test/soup/run-tests.sh b/test/soup/run-tests.sh
deleted file mode 100755
index 2ec45f1..0000000
--- a/test/soup/run-tests.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/sh
-export TEST_DIRECTORY=tmp
-export PYTHONPATH=..
-python run.py
diff --git a/test/soup/run.py b/test/soup/run.py
deleted file mode 100644
index dc7bcd7..0000000
--- a/test/soup/run.py
+++ /dev/null
@@ -1,9 +0,0 @@
-
-import soup
-from test_datatypes import *
-from test_dataprovider import *
-from test_synchronization import *
-
-if __name__ == "__main__":
- import unittest
- unittest.main()
diff --git a/test/soup/soup b/test/soup/soup
new file mode 100755
index 0000000..c6e1127
--- /dev/null
+++ b/test/soup/soup
@@ -0,0 +1,15 @@
+#! /usr/bin/env python
+
+import sys, os
+sys.path.insert(0, '..')
+
+os.environ['TEST_DIRECTORY'] = 'tmp'
+
+import soup
+from test_datatypes import *
+from test_dataprovider import *
+from test_synchronization import *
+
+if __name__ == "__main__":
+ import unittest
+ unittest.main()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]