build-sys: fix --disable-tests
Fixes: $ ./configure ... --disable-tests $ make $ sudo make check FAIL: test/udev-test.pl PASS: test/rule-syntax-check.py PASS: test/sysv-generator-test.py ...
This commit is contained in:
parent
afcaed0cad
commit
5433c3e1a3
|
@ -3744,6 +3744,7 @@ EXTRA_DIST += \
|
||||||
hwdb/sdio.ids
|
hwdb/sdio.ids
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
if ENABLE_TESTS
|
||||||
TESTS += \
|
TESTS += \
|
||||||
test/udev-test.pl
|
test/udev-test.pl
|
||||||
|
|
||||||
|
@ -3756,6 +3757,7 @@ TESTS += \
|
||||||
test/sysv-generator-test.py
|
test/sysv-generator-test.py
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
manual_tests += \
|
manual_tests += \
|
||||||
test-libudev \
|
test-libudev \
|
||||||
|
@ -3775,8 +3777,10 @@ test_udev_LDADD = \
|
||||||
$(BLKID_LIBS) \
|
$(BLKID_LIBS) \
|
||||||
$(KMOD_LIBS)
|
$(KMOD_LIBS)
|
||||||
|
|
||||||
|
if ENABLE_TESTS
|
||||||
check_DATA += \
|
check_DATA += \
|
||||||
test/sys
|
test/sys
|
||||||
|
endif
|
||||||
|
|
||||||
# packed sysfs test tree
|
# packed sysfs test tree
|
||||||
test/sys:
|
test/sys:
|
||||||
|
|
Loading…
Reference in a new issue