daandemeyer / rpms / systemd

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