Revision bd39b6bb Makefile.am

b/Makefile.am
991 991
	UPGRADE \
992 992
	epydoc.conf.in \
993 993
	pylintrc \
994
	pylintrc-test \
994 995
	autotools/build-bash-completion \
995 996
	autotools/build-rpc \
996 997
	autotools/check-header \
......
1451 1452
	$(CHECK_HEADER) \
1452 1453
	$(DOCPP) \
1453 1454
	$(PYTHON_BOOTSTRAP) \
1454
	qa
1455
	qa \
1456
	$(python_test_support)
1455 1457

  
1456 1458
test/py/daemon-util_unittest.bash: daemons/daemon-util
1457 1459

  
......
1931 1933
# For excluding pep8 expects filenames only, not whole paths
1932 1934
PEP8_EXCLUDE = $(subst $(space),$(comma),$(strip $(notdir $(BUILT_PYTHON_SOURCES))))
1933 1935

  
1934
LINT_TARGETS = pylint pylint-qa
1936
LINT_TARGETS = pylint pylint-qa pylint-test
1935 1937
if HAS_PEP8
1936 1938
LINT_TARGETS += pep8
1937 1939
endif
......
1953 1955
	cd $(top_srcdir)/qa && \
1954 1956
	  PYTHONPATH=$(abs_top_srcdir) $(PYLINT) $(LINT_OPTS) \
1955 1957
	  --rcfile  ../pylintrc $(patsubst qa/%.py,%,$(qa_scripts))
1958
# FIXME: lint all test code, not just the newly added test support
1959
pylint-test: $(GENERATED_FILES)
1960
	@test -n "$(PYLINT)" || { echo 'pylint' not found during configure; exit 1; }
1961
	cd $(top_srcdir) && \
1962
		PYTHONPATH=.:./test/py $(PYLINT) $(LINT_OPTS) \
1963
		--rcfile=pylintrc-test  $(python_test_support)
1956 1964

  
1957 1965
.PHONY: pep8
1958 1966
pep8: $(GENERATED_FILES)

Also available in: Unified diff