Makefile check-speed: force-quit any leftover client before starting a new test

This commit is contained in:
Brian Warner 2007-12-14 02:04:25 -07:00
parent 69b65b6b01
commit f3a3548d02

View File

@ -251,6 +251,8 @@ check-memory-once: .built
check-speed: .built
if [ -z '$(TESTCLIENTDIR)' ]; then exit 1; fi
@echo "stopping any leftover client code"
-$(PYTHON) bin/tahoe stop $(TESTCLIENTDIR)
$(PYTHON) bin/tahoe start $(TESTCLIENTDIR)
sleep 5
$(PYTHON) src/allmydata/test/check_speed.py $(TESTCLIENTDIR)