Blame SOURCES/0016-test-check-container-also-run-check-integration.patch

66253d
From d411807ff46fa6faf8410d994c2f39520b8fc2dc Mon Sep 17 00:00:00 2001
66253d
From: Eric Garver <eric@garver.life>
66253d
Date: Mon, 16 Dec 2019 13:36:12 -0500
66253d
Subject: [PATCH 16/37] test: check-container: also run check-integration
66253d
66253d
This ties the integration tests into the "check-container" target.
66253d
66253d
NOTE: We force "-j1" because the integration tests must be run serially.
66253d
(cherry picked from commit c1c8156e267d3680959d9bc8ac092d829bac6719)
66253d
(cherry picked from commit fbfc230ed2c2082d0e55b25e551ebc241f7efdf2)
66253d
---
66253d
 src/tests/Makefile.am | 11 +++++++----
66253d
 1 file changed, 7 insertions(+), 4 deletions(-)
66253d
66253d
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
66253d
index c00c198bf9bb..bf028c7c5389 100644
66253d
--- a/src/tests/Makefile.am
66253d
+++ b/src/tests/Makefile.am
66253d
@@ -55,12 +55,13 @@ check-container-debian-sid:
66253d
 	                   xsltproc docbook-xsl docbook-xml iptables ipset ebtables \
66253d
 	                   nftables libxml2-utils libdbus-1-dev libgirepository1.0-dev \
66253d
 	                   python3-dbus python3-gi python3-slip-dbus python3-nftables \
66253d
-	                   procps && \
66253d
+	                   procps network-manager gir1.2-nm-1.0 && \
66253d
 	apt-get install -y libnftables-dev && \
66253d
 	./autogen.sh && \
66253d
 	./configure PYTHON=/usr/bin/python3 && \
66253d
 	make && \
66253d
-	make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" "
66253d
+	make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" && \
66253d
+	make -C src/tests check-integration TESTSUITEFLAGS=\"$(TESTSUITEFLAGS) -j1\" "
66253d
 
66253d
 check-container-fedora-rawhide:
66253d
 	(cd $(abs_top_srcdir) && tar -c . ) | \
66253d
@@ -71,12 +72,14 @@ check-container-fedora-rawhide:
66253d
 	               docbook-style-xsl file gettext glib2-devel intltool ipset \
66253d
 	               iptables iptables-nft libtool libxml2 libxslt make nftables \
66253d
 	               python3-nftables python3-slip-dbus python3-gobject-base \
66253d
-	               diffutils procps-ng iproute which dbus-daemon && \
66253d
+	               diffutils procps-ng iproute which dbus-daemon \
66253d
+	               NetworkManager && \
66253d
 	alternatives --set ebtables /usr/sbin/ebtables-nft && \
66253d
 	./autogen.sh && \
66253d
 	./configure PYTHON=/usr/bin/python3 && \
66253d
 	make && \
66253d
-	make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" "
66253d
+	make -C src/tests check-local TESTSUITEFLAGS=\"$(TESTSUITEFLAGS)\" && \
66253d
+	make -C src/tests check-integration TESTSUITEFLAGS=\"$(TESTSUITEFLAGS) -j1\" "
66253d
 
66253d
 check-container: check-container-debian-sid
66253d
 check-container: check-container-fedora-rawhide
66253d
-- 
66253d
2.23.0
66253d