~ross-ross-williams/duplicity/gpg-agent-fix

« back to all changes in this revision

Viewing changes to testing/run-all-tests.sh

  • Committer: Kenneth Loafman
  • Date: 2011-08-18 19:23:35 UTC
  • Revision ID: kenneth@loafman.com-20110818192335-dcbqmrh2ttqydp6q
Remove use of virtualenv.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
fi
27
27
 
28
28
# run against all supported python versions
29
 
for v in 2.4 2.5 2.6; do
30
 
    if [ -d ~/virtual$v ]; then
31
 
        # change to virtualenv for this python version
32
 
        pushd ~/virtual$v && source bin/activate && popd
33
 
 
34
 
        # Go to directory housing this script
35
 
        cd `dirname $0`
36
 
 
37
 
        echo "========== Compiling librsync for python$v =========="
38
 
        pushd ../duplicity
39
 
        python ./compilec.py
 
29
for v in 2.6; do
 
30
    # Go to directory housing this script
 
31
    cd `dirname $0`
 
32
 
 
33
    echo "========== Compiling librsync for python$v =========="
 
34
    pushd ../duplicity
 
35
    python$v ./compilec.py
 
36
    popd
 
37
 
 
38
    for t in `cat alltests`; do
 
39
        echo "========== Running $t for python$v =========="
 
40
        pushd .
 
41
        python$v -u $t -v 2>&1 | grep -v "unsafe ownership"
40
42
        popd
41
 
 
42
 
        for t in `cat alltests`; do
43
 
            echo "========== Running $t for python$v =========="
44
 
            pushd .
45
 
            python -u $t -v 2>&1 | grep -v "unsafe ownership"
46
 
            popd
47
 
            echo "========== Finished $t for python$v =========="
48
 
            echo
49
 
            echo
50
 
        done
51
 
    fi
 
43
        echo "========== Finished $t for python$v =========="
 
44
        echo
 
45
        echo
 
46
    done
52
47
done