~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Log subprocess calls during performance testing
[stgit]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
c890b8e
..
e5c002a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,6
+2,8
@@
PREFIX ?= $(HOME)
DESTDIR ?= /
PYTHON ?= python
DESTDIR ?= /
PYTHON ?= python
+TEST_PATCHES ?= ..
+
all:
$(PYTHON) setup.py build
all:
$(PYTHON) setup.py build
@@
-14,6
+16,11
@@
doc:
test:
cd t && $(MAKE) all
test:
cd t && $(MAKE) all
+test_patches:
+ for patch in $$(stg series --noprefix $(TEST_PATCHES)); do \
+ stg goto $$patch && $(MAKE) test || break; \
+ done
+
clean:
for dir in Documentation t; do \
(cd $$dir && $(MAKE) clean); \
clean:
for dir in Documentation t; do \
(cd $$dir && $(MAKE) clean); \
@@
-26,4
+33,4
@@
clean:
tags:
ctags -e -R stgit/*
tags:
ctags -e -R stgit/*
-.PHONY: all install doc test clean
+.PHONY: all install doc test
test_patches
clean