summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-12-13 17:22:48 +0100
committerDaniel Mack <github@zonque.org>2015-12-13 17:22:48 +0100
commitdc0306aac4a5b735778690d407947c2a1b3cf9c7 (patch)
tree4b4c7da49511471175395ffa794eed1aa13c5ca7
parentafcaed0cad3982bd68b08baf8bcdd5fedbb68d00 (diff)
parent5433c3e1a381c446764969afa2acf3efac546ea2 (diff)
Merge pull request #2152 from evverx/respect-disable-tests
build-sys: fix --disable-tests
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f552f7a60b..00a92e34e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3744,6 +3744,7 @@ EXTRA_DIST += \
hwdb/sdio.ids
# ------------------------------------------------------------------------------
+if ENABLE_TESTS
TESTS += \
test/udev-test.pl
@@ -3756,6 +3757,7 @@ TESTS += \
test/sysv-generator-test.py
endif
endif
+endif
manual_tests += \
test-libudev \
@@ -3775,8 +3777,10 @@ test_udev_LDADD = \
$(BLKID_LIBS) \
$(KMOD_LIBS)
+if ENABLE_TESTS
check_DATA += \
test/sys
+endif
# packed sysfs test tree
test/sys: