From: Evgeny Vereshchagin Date: Sun, 13 Dec 2015 06:51:33 +0000 (+0000) Subject: build-sys: fix --disable-tests X-Git-Tag: v229~210^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2152%2Fhead;p=thirdparty%2Fsystemd.git 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 ... --- diff --git a/Makefile.am b/Makefile.am index f552f7a60bc..00a92e34e03 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: