summaryrefslogtreecommitdiff
path: root/alltests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'alltests.sh')
-rwxr-xr-xalltests.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/alltests.sh b/alltests.sh
index 3371021..be19929 100755
--- a/alltests.sh
+++ b/alltests.sh
@@ -6,16 +6,18 @@
#
# All the Python installs have a .pth pointing to the egg file created by
# 2.6, so install the testdata in 2.6
-source ../ve/26/bin/activate
+ve=${COVERAGE_VE:-../ve}
+echo "Testing in $ve"
+source $ve/26/bin/activate
make --quiet testdata
for v in 24 25 26 27 31 32 # 23
do
- source ../ve/$v/bin/activate
+ source $ve/$v/bin/activate
python setup.py -q develop
- python -c "import platform; print('=== Python %s with C tracer ===' % platform.python_version())"
+ python -c "import platform, sys; print('=== Python %s with C tracer (%s) ===' % (platform.python_version(), sys.executable))"
COVERAGE_TEST_TRACER=c nosetests $@
- python -c "import platform; print('=== Python %s with Python tracer ===' % platform.python_version())"
+ python -c "import platform, sys; print('=== Python %s with Python tracer (%s) ===' % (platform.python_version(), sys.executable))"
rm coverage/tracer*.so
COVERAGE_TEST_TRACER=py nosetests $@
done