remi pushed to php-symfony (epel7). "disable test suite with old PHPUnit version"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Apr 2 15:28:41 UTC 2015
>From 2e11c4a7c972d5e17dab8159b89a97ec7dc0b55c Mon Sep 17 00:00:00 2001
From: Remi Collet <remi at fedoraproject.org>
Date: Thu, 19 Mar 2015 06:40:57 +0100
Subject: disable test suite with old PHPUnit version
diff --git a/php-symfony.spec b/php-symfony.spec
index f084894..3e7b315 100644
--- a/php-symfony.spec
+++ b/php-symfony.spec
@@ -59,8 +59,14 @@
%global twig_min_ver 1.12
%global twig_max_ver 2.0
+%if 0%{?fedora} < 21 && 0%{?rhel} < 7
+# Build using "--with tests" to enable tests
+# Disabled by default with old PHPUnit version
+%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
+%else
# Build using "--without tests" to disable tests
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
+%endif
%{!?phpdir: %global phpdir %{_datadir}/php}
%{!?__phpunit: %global __phpunit %{_bindir}/phpunit}
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/php-symfony.git/commit/?h=epel7&id=2e11c4a7c972d5e17dab8159b89a97ec7dc0b55c
More information about the scm-commits
mailing list