make tests pass in Koji
This commit is contained in:
parent
d99a0c0fb4
commit
8535255eda
36
libnice-0.1.14-tests-koji.patch
Normal file
36
libnice-0.1.14-tests-koji.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
From 527c30ba453753e75d3d31be29a277ea6adc17c0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Fri, 9 Feb 2018 19:10:20 +0100
|
||||||
|
Subject: [PATCH] tests: make the test-suite more verbose
|
||||||
|
|
||||||
|
... and skip test-gstreamer if user's home is not /builddir (a heuristic
|
||||||
|
to detect mock) because multicast traffic is blocked on Koji buildhosts.
|
||||||
|
---
|
||||||
|
configure.ac | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 16988ad..b7b74fa 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -12,7 +12,7 @@ AC_CANONICAL_TARGET
|
||||||
|
|
||||||
|
AC_CONFIG_SRCDIR([agent/agent.c])
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
-AM_INIT_AUTOMAKE([1.12 -Wall -Wno-portability subdir-objects])
|
||||||
|
+AM_INIT_AUTOMAKE([1.12 -Wall -Wno-portability subdir-objects serial-tests])
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([
|
||||||
|
Makefile
|
||||||
|
@@ -262,7 +262,7 @@ AC_SUBST(gstplugindir)
|
||||||
|
AC_SUBST(gstplugin010dir)
|
||||||
|
|
||||||
|
AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes)
|
||||||
|
-AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes)
|
||||||
|
+AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes -a "$HOME" != /builddir)
|
||||||
|
AM_CONDITIONAL(WITH_GSTREAMER010, test "$with_gstreamer010" = yes)
|
||||||
|
|
||||||
|
GUPNP_IGD_REQUIRED=0.2.4
|
||||||
|
--
|
||||||
|
2.13.6
|
||||||
|
|
@ -15,6 +15,9 @@ Patch1: libnice-0.1.14-70-gfb2f1f7.patch
|
|||||||
# make tests compile on i686
|
# make tests compile on i686
|
||||||
Patch2: libnice-0.1.14-tests-i686.patch
|
Patch2: libnice-0.1.14-tests-i686.patch
|
||||||
|
|
||||||
|
# make tests pass in Koji
|
||||||
|
Patch3: libnice-0.1.14-tests-koji.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -74,6 +77,7 @@ developing applications that use %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
# disable test-new-dribble that sometimes hangs indefinitely
|
# disable test-new-dribble that sometimes hangs indefinitely
|
||||||
sed -e 's/test-new-dribble/#&/' -i tests/Makefile.am
|
sed -e 's/test-new-dribble/#&/' -i tests/Makefile.am
|
||||||
@ -147,6 +151,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Feb 09 2018 Kamil Dudka <kdudka@redhat.com> - 0.1.14-4.20171128gitfb2f1f7
|
* Fri Feb 09 2018 Kamil Dudka <kdudka@redhat.com> - 0.1.14-4.20171128gitfb2f1f7
|
||||||
|
- make tests pass in Koji
|
||||||
- disable test-new-dribble that sometimes hangs indefinitely
|
- disable test-new-dribble that sometimes hangs indefinitely
|
||||||
- make tests compile on i686
|
- make tests compile on i686
|
||||||
- make the package build on armv7hl
|
- make the package build on armv7hl
|
||||||
|
Loading…
Reference in New Issue
Block a user