Fix Tahoe-LAFS tests (thanks to zooko)

Zooko pointed out on IRC that running python setup.py build, before running the tests will create /bin/tahoe (which is necessary for running the tests).
This commit is contained in:
Cillian de Róiste 2012-11-27 01:03:59 +01:00
parent 9b0879bf85
commit dbe7377d28

View File

@ -71,10 +71,9 @@ buildPythonPackage {
find "$out/share/doc/${name}" -name Makefile -exec rm -v {} \;
# Run the tests once everything is installed.
# FIXME: Some of the tests want to run $out/bin/tahoe, which isn't usable
# yet because it gets wrapped later on, in `postFixup'.
export PYTHON_EGG_CACHE="$TMPDIR"
: python setup.py trial
python setup.py build
python setup.py trial
'';
meta = {