From 03a071399ab5fb58d4bb4fa38928413a21ae4d61 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Fri, 18 Apr 2014 14:55:53 +0300 Subject: build: List test extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List test extensions with TEST_EXTENSIONS [1] in Makefile.am to allow applying separate LOG_COMPILER for binary and Python tests. This is needed to avoid running Python tests under Valgrind as that produces too many interpreter-specific errors which are hard to suppress reliably [2]. Thus a run like this would run only binary tests under Valgrind: make check PY_LOG_COMPILER=env LOG_COMPILER=valgrind Or more briefly: make check LOG_COMPILER=valgrind [1] http://www.gnu.org/software/automake/manual/automake.html#index-TEST_005fEXTENSIONS [2] http://svn.python.org/projects/python/trunk/Misc/README.valgrind Reviewed-by: Lukáš Slebodník --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index dc8a99771..408fb86cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -191,6 +191,7 @@ PYTHON_TESTS += src/config/SSSDConfigTest.py \ src/tests/pysss_murmur-test.py endif +TEST_EXTENSIONS = .py TESTS = \ $(PYTHON_TESTS) \ $(non_interactive_cmocka_based_tests) \ -- cgit