equal
deleted
inserted
replaced
38 echo "Could not create temporary directory! Exiting." 1>&2 |
38 echo "Could not create temporary directory! Exiting." 1>&2 |
39 exit 1 |
39 exit 1 |
40 } |
40 } |
41 |
41 |
42 TESTDIR="$PWD" |
42 TESTDIR="$PWD" |
|
43 export TESTDIR |
43 INST="$HGTMP/install" |
44 INST="$HGTMP/install" |
44 PYTHONDIR="$INST/lib/python" |
45 PYTHONDIR="$INST/lib/python" |
45 cd .. |
46 cd .. |
46 if ${PYTHON-python} setup.py install --home="$INST" \ |
47 if ${PYTHON-python} setup.py install --home="$INST" \ |
47 --install-lib="$PYTHONDIR" > tests/install.err 2>&1 |
48 --install-lib="$PYTHONDIR" > tests/install.err 2>&1 |
98 return $fail |
99 return $fail |
99 } |
100 } |
100 |
101 |
101 # list of prerequisite programs |
102 # list of prerequisite programs |
102 # stuff from coreutils (cat, rm, etc) are not tested |
103 # stuff from coreutils (cat, rm, etc) are not tested |
103 prereqs="python merge diff grep unzip md5sum gunzip sed" |
104 prereqs="python merge diff grep unzip gunzip sed" |
104 missing='' |
105 missing='' |
105 for pre in $prereqs ; do |
106 for pre in $prereqs ; do |
106 if type $pre > /dev/null 2>&1 ; then |
107 if type $pre > /dev/null 2>&1 ; then |
107 : prereq exists |
108 : prereq exists |
108 else |
109 else |