Blame SOURCES/libnice-0.1.14-tests-koji.patch

cbc6e0
From 527c30ba453753e75d3d31be29a277ea6adc17c0 Mon Sep 17 00:00:00 2001
cbc6e0
From: Kamil Dudka <kdudka@redhat.com>
cbc6e0
Date: Fri, 9 Feb 2018 19:10:20 +0100
cbc6e0
Subject: [PATCH] tests: make the test-suite more verbose
cbc6e0
cbc6e0
... and skip test-gstreamer if user's home is not /builddir (a heuristic
cbc6e0
to detect mock) because multicast traffic is blocked on Koji buildhosts.
cbc6e0
---
cbc6e0
 configure.ac | 4 ++--
cbc6e0
 1 file changed, 2 insertions(+), 2 deletions(-)
cbc6e0
cbc6e0
diff --git a/configure.ac b/configure.ac
cbc6e0
index 16988ad..b7b74fa 100644
cbc6e0
--- a/configure.ac
cbc6e0
+++ b/configure.ac
cbc6e0
@@ -12,7 +12,7 @@ AC_CANONICAL_TARGET
cbc6e0
 
cbc6e0
 AC_CONFIG_SRCDIR([agent/agent.c])
cbc6e0
 AC_CONFIG_HEADERS([config.h])
cbc6e0
-AM_INIT_AUTOMAKE([1.12 -Wall -Wno-portability subdir-objects])
cbc6e0
+AM_INIT_AUTOMAKE([1.12 -Wall -Wno-portability subdir-objects serial-tests])
cbc6e0
 
cbc6e0
 AC_CONFIG_FILES([
cbc6e0
 	Makefile
cbc6e0
@@ -263,7 +263,7 @@ AC_SUBST(gstplugindir)
cbc6e0
 AC_SUBST(gstplugin010dir)
cbc6e0
 
cbc6e0
 AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes)
cbc6e0
-AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes)
cbc6e0
+AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes -a "$HOME" != /builddir)
cbc6e0
 AM_CONDITIONAL(WITH_GSTREAMER010, test "$with_gstreamer010" = yes)
cbc6e0
 
cbc6e0
 GUPNP_IGD_REQUIRED=0.2.4
cbc6e0
-- 
cbc6e0
2.13.6
cbc6e0