This target tests individual patches in the series.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
DESTDIR ?= /
PYTHON ?= python
DESTDIR ?= /
PYTHON ?= python
all:
$(PYTHON) setup.py build
all:
$(PYTHON) setup.py build
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); \
tags:
ctags -e -R stgit/*
tags:
ctags -e -R stgit/*
-.PHONY: all install doc test clean
+.PHONY: all install doc test test_patches clean