summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alltests.cmd17
-rwxr-xr-xalltests.sh33
-rwxr-xr-xbuild_ve.sh48
3 files changed, 0 insertions, 98 deletions
diff --git a/alltests.cmd b/alltests.cmd
deleted file mode 100644
index 213c71b9..00000000
--- a/alltests.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@echo off
-@rem all the Python installs have a .pth pointing to the egg file created by
-@rem 2.6, so install the testdata in 2.5
-call switchpy c:\vpy\coverage\26 quiet
-make --quiet testdata
-
-for %%v in (24 25 26 27 31 32) do (
- call switchpy c:\vpy\coverage\%%v
- python setup.py -q develop
- set COVERAGE_TEST_TRACER=c
- nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
- del coverage\tracer.pyd
- set COVERAGE_TEST_TRACER=py
- nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
- )
-
-make --quiet clean
diff --git a/alltests.sh b/alltests.sh
deleted file mode 100755
index a2d7e373..00000000
--- a/alltests.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-#
-# To run the tests on many Pythons, create a series of virtualenvs in a
-# sibling directory called "ve". Give the directories there names like
-# "26" for Python 2.6.
-#
-# All the Python installs have a .pth pointing to the egg file created by
-# 2.6, so install the testdata in 2.6
-ve=${COVERAGE_VE:-../ve}
-echo "Testing in $ve"
-source $ve/26/bin/activate
-make --quiet testdata
-
-for v in 23 24 25 26 27 31 32 33
-do
- source $ve/$v/bin/activate
- python setup.py -q develop
- python pybanner.py "with C tracer"
- COVERAGE_TEST_TRACER=c nosetests $@
- python pybanner.py "with Python tracer"
- rm coverage/tracer*.so
- COVERAGE_TEST_TRACER=py nosetests $@
-done
-
-for v in pypy
-do
- source $ve/$v/bin/activate
- python setup.py -q develop
- python pybanner.py "with Python tracer"
- COVERAGE_TEST_TRACER=py nosetests $@
-done
-
-make --quiet clean
diff --git a/build_ve.sh b/build_ve.sh
deleted file mode 100755
index 4833e93d..00000000
--- a/build_ve.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/usr/bin/env bash
-#
-# Create virtualenvs needed to test coverage.
-# Invoke with command args, a list of python installations to make virtualenvs
-# from. COVERAGE_VE should point to the directory to hold them. For example:
-#
-# COVERAGE_VE=../ve ./build_ve.sh /opt/python*
-#
-
-ve=${COVERAGE_VE:-../ve}
-
-echo "Constructing virtualenvs in $ve"
-
-rm -rf $ve
-mkdir $ve
-
-for p in $*
-do
- echo --- $p -------------------------
- if [ -f $p/bin/python ]; then
- suff=
- elif [ -f $p/bin/python3 ]; then
- suff=3
- else
- echo "*** There's no Python in $p"
- exit
- fi
-
- # Figure out what version we are
- ver=`$p/bin/python$suff -c "import sys; print('%s%s' % sys.version_info[:2])"`
- echo The version is $ver
-
- # Make the virtualenv
- $p/bin/virtualenv $ve/$ver
-
- # Activate the virtualenv
- source $ve/$ver/bin/activate
-
- # Install nose
- easy_install nose
-
- # Write the .pth file that lets us import our test zips.
- libdir=`echo $ve/$ver/lib/python*/site-packages/`
- echo `pwd`/test/eggsrc/dist/covtestegg1-0.0.0-py2.6.egg > $libdir/coverage_test_egg.pth
-
- # Install ourselves
- python setup.py develop
-done