summaryrefslogtreecommitdiffstats
path: root/run-tests.bash
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.bash')
-rwxr-xr-xrun-tests.bash17
1 files changed, 17 insertions, 0 deletions
diff --git a/run-tests.bash b/run-tests.bash
new file mode 100755
index 000000000..55fc6376b
--- /dev/null
+++ b/run-tests.bash
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Hackish script to run unit tests under both Python 2.4 and 2.5
+
+interpreters="python2.4 python2.5"
+
+for name in $interpreters
+do
+ executable="/usr/bin/$name"
+ if [[ -f $executable ]]
+ then
+ echo "[ $0: running unit tests under $name ]"
+ $executable /usr/bin/nosetests
+ else
+ echo "[ $0: $name not found ]"
+ fi
+done