diff options
author | Peter Seiderer <ps.report@gmx.net> | 2014-08-11 22:26:07 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2014-08-12 11:30:03 -0400 |
commit | f814a818d28a9653156db5c1ce6691d3bd8c297a (patch) | |
tree | 63225e36afa32f1af7dbe91f4d321b72cb54c1f2 /python | |
parent | 1fe56126f78736923a51d1fe3dec76a340d50dba (diff) |
configure.ac: add '--disable-tests' option
For toolchains without c++ support add option to disable
tests, because this is the only place c++ is needed (to
test the c++ binding).
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
- renamed "tests" into "enable_tests"
- used yes/no instead of true/false
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'python')
-rw-r--r-- | python/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 20e50f0..a31ee98 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -21,6 +21,7 @@ SUBDIRS = evemu nobase_python_PYTHON = \ $(wildcard evemu/*.py) +if BUILD_TESTS check_SCRIPTS = evemu-test-runner TESTS = $(check_SCRIPTS) @@ -35,5 +36,7 @@ evemu-test-runner: evemu-test-runner.in Makefile chmod +x $@ BUILT_SOURCES = evemu-test-runner +endif + EXTRA_DIST = evemu-test-runner.in $(wildcard evemu/test*) CLEANFILES = $(BUILT_SOURCES) |