daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
923a60
From c11c73fc4541bf0ea5a418ebea53e58668100f82 Mon Sep 17 00:00:00 2001
923a60
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
923a60
Date: Tue, 3 Mar 2015 10:36:47 -0500
923a60
Subject: [PATCH] Do not run sysv-generator-test when sysv compat is disabled
923a60
923a60
(cherry picked from commit dcf1369057231fbf09e37b5a48483763b4ae6e19)
923a60
---
923a60
 Makefile.am | 5 +++++
923a60
 1 file changed, 5 insertions(+)
923a60
923a60
diff --git a/Makefile.am b/Makefile.am
923a60
index 2e6455f6e3..4933f76bdd 100644
923a60
--- a/Makefile.am
923a60
+++ b/Makefile.am
923a60
@@ -3789,9 +3789,14 @@ TESTS += \
923a60
 if HAVE_PYTHON
923a60
 TESTS += \
923a60
 	test/rule-syntax-check.py \
923a60
+	$(NULL)
923a60
+
923a60
+if HAVE_SYSV_COMPAT
923a60
+TESTS += \
923a60
 	test/sysv-generator-test.py \
923a60
 	$(NULL)
923a60
 endif
923a60
+endif
923a60
 
923a60
 manual_tests += \
923a60
 	test-libudev \