diff --git a/0002-Disable-test-which-takes-too-many-resources-for-koji.patch b/0002-Disable-test-which-takes-too-many-resources-for-koji.patch deleted file mode 100644 index 791ade8..0000000 --- a/0002-Disable-test-which-takes-too-many-resources-for-koji.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0b06a4ddd8da8d7e6d0de78a0fd3facd0739fcba Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Mon, 28 Nov 2016 20:01:20 +0100 -Subject: [PATCH 2/2] Disable test which takes too many resources for koji - -Signed-off-by: Igor Gnatenko ---- - src/subprocess_test.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/subprocess_test.cc b/src/subprocess_test.cc -index 0a8c206..38dfd4a 100644 ---- a/src/subprocess_test.cc -+++ b/src/subprocess_test.cc -@@ -214,7 +214,7 @@ TEST_F(SubprocessTest, SetWithMulti) { - } - } - --#if defined(USE_PPOLL) -+#if 0 && defined(USE_PPOLL) - TEST_F(SubprocessTest, SetWithLots) { - // Arbitrary big number; needs to be over 1024 to confirm we're no longer - // hostage to pselect. --- -2.10.2 - diff --git a/ninja-build.spec b/ninja-build.spec index aae7b9c..c5bab4f 100644 --- a/ninja-build.spec +++ b/ninja-build.spec @@ -8,7 +8,6 @@ Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz#/nin Source1: ninja.vim Source2: macros.ninja Patch0001: 0001-Work-around-mtime-being-set-to-0-sometimes.patch -Patch0002: 0002-Disable-test-which-takes-too-many-resources-for-koji.patch BuildRequires: gcc-c++ %if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: python2-devel @@ -54,7 +53,7 @@ install -Dpm0644 %{S:2} %{buildroot}%{rpmmacrodir}/macros.ninja ln -s ninja %{buildroot}%{_bindir}/ninja-build %check -./ninja_test +./ninja_test --gtest_filter=-SubprocessTest.SetWithLots %files %license COPYING