diff options
author | hut <hut@lavabit.com> | 2010-05-03 23:53:11 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-05-03 23:58:07 +0200 |
commit | 4ade06a67abb6293c2695627b8b2b2c04298d8b6 (patch) | |
tree | 8e8f387164e8335dc0715bd48a801696a282511e /Makefile | |
parent | 9594738888c6676e46ffc0a9d5b8dde808cd88eb (diff) | |
download | ranger-4ade06a67abb6293c2695627b8b2b2c04298d8b6.tar.gz |
Makefile: added `make bm` to run all benchmarks BMCOUNT times
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile index bef340ec..ffa81797 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ PYTHONOPTIMIZE ?= 2 CWD = $(shell pwd) PYTHON_SITE_DEST ?= $(shell $(PYTHON) -c 'import sys; sys.stdout.write( \ [p for p in sys.path if "site" in p][0])' 2> /dev/null) +BMCOUNT ?= 5 default: test compile @echo 'Run `make options` for a list of all options' @@ -82,10 +83,12 @@ cleandoc: test: ./all_tests.py 1 - ./all_benchmarks.py 1 + +bm: + ./all_benchmarks.py $(BMCOUNT) snapshot: git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz -.PHONY: default options all compile clean doc cleandoc test \ +.PHONY: default options all compile clean doc cleandoc test bm \ install uninstall snapshot |