mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 09:46:18 +00:00
add test-pyfec target, not added to the main 'test' target because it adds 20 seconds to the test run
This commit is contained in:
parent
e08308e019
commit
155d64ba6d
37
Makefile
37
Makefile
@ -4,22 +4,6 @@ default: build
|
||||
BASE=$(shell pwd)
|
||||
PYTHON=python
|
||||
|
||||
.PHONY: build
|
||||
build: build-pyfec build-Crypto
|
||||
$(PYTHON) setup.py install --prefix=$(BASE)/instdir
|
||||
|
||||
build-pyfec:
|
||||
cd src/pyfec && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
|
||||
|
||||
clean-pyfec:
|
||||
cd src/pyfec && python ./setup.py clean
|
||||
|
||||
build-Crypto:
|
||||
cd src/Crypto && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
|
||||
|
||||
clean-Crypto:
|
||||
cd src/Crypto && python ./setup.py clean
|
||||
|
||||
INSTDIR=$(BASE)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages
|
||||
|
||||
show-instdir:
|
||||
@ -31,6 +15,27 @@ else
|
||||
PP=PYTHONPATH=$(INSTDIR)
|
||||
endif
|
||||
|
||||
.PHONY: build
|
||||
build: build-pyfec build-Crypto
|
||||
$(PYTHON) setup.py install --prefix=$(BASE)/instdir
|
||||
|
||||
build-pyfec:
|
||||
cd src/pyfec && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
|
||||
|
||||
test-pyfec:
|
||||
$(PP) $(PYTHON) src/pyfec/fec/test/test_pyfec.py
|
||||
|
||||
clean-pyfec:
|
||||
cd src/pyfec && python ./setup.py clean
|
||||
|
||||
|
||||
build-Crypto:
|
||||
cd src/Crypto && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
|
||||
|
||||
clean-Crypto:
|
||||
cd src/Crypto && python ./setup.py clean
|
||||
|
||||
|
||||
.PHONY: run-queen run-client test
|
||||
|
||||
run-queen:
|
||||
|
Loading…
x
Reference in New Issue
Block a user