2
BZR ?= $(shell which bzr)
3
PYTHON ?= $(shell which python)
9
TESTS ?= bzrlib.tests.per_foreign_vcs.*Git bzrlib.plugins.git
25
TMP_PLUGINS_DIR = $(shell pwd)/.plugins
30
$(TMP_PLUGINS_DIR)/git: $(TMP_PLUGINS_DIR)
33
check:: build-inplace $(TMP_PLUGINS_DIR)/git
34
BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(DEBUGGER) $(PYTHON) $(PYTHON_OPTIONS) $(BZR) selftest $(TEST_OPTIONS) $(TESTS)
37
$(MAKE) check TEST_OPTIONS=-v
40
$(MAKE) check TEST_OPTIONS=--one
43
$(MAKE) check TEST_OPTIONS="--random=now --verbose --one"
46
BZR_PLUGIN_PATH=$(TMP_PLUGINS_DIR) $(BZR) plugins
49
$(PYLINT) -f parseable *.py */*.py