daandemeyer / rpms / systemd

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