Diff of /Test/testTest [e6e990] .. [c237fe] Maximize Restore

  Switch to unified view

a/Test/testTest b/Test/testTest
...
...
10
10
11
ERRORFILES="/tmp/testTest.$$"
11
ERRORFILES="/tmp/testTest.$$"
12
12
13
PYTHON="python3.0 -Wd"
13
PYTHON="python3.0 -Wd"
14
14
15
# Go to Test directory:
16
cd `dirname "$0"`
17
18
# Add parent directory to PYTHONPATH:
19
parent_dir=$(dirname $(pwd))
20
if [ "$PYTHONPATH" ]
21
then
22
    export PYTHONPATH="$parent_dir:$PYTHONPATH"
23
else
24
    export PYTHONPATH="$parent_dir"
25
fi
26
15
if [ $# -ge 2 -a "x$1" = x-p ]
27
if [ $# -ge 2 -a "x$1" = x-p ]
16
then
28
then
17
    PYTHON="$2"
29
    PYTHON="$2"
18
    shift 2
30
    shift 2
19
fi
31
fi
20
32
21
> $ERRORFILES
33
> $ERRORFILES
22
NUM_ERRORS=0
34
NUM_ERRORS=0
23
35
24
for f in `find . -name .svn -prune -o -name '*.tst' -print`
36
for f in `find . -name '*.tst' -print`
25
do
37
do
26
    #echo Testing "$f"
38
    #echo Testing "$f"
27
    if ! $PYTHON ../doctest_file.py "$f" True
39
    if ! $PYTHON ../doctest_file.py "$f" True
28
    then
40
    then
29
        echo "$f" >> $ERRORFILES
41
        echo "$f" >> $ERRORFILES