From: Elan Ruusamäe Date: Wed, 23 Nov 2016 02:02:12 +0000 (+0200) Subject: mark tests properly skipped X-Git-Tag: auto/th/php-pecl-memcache-3.0.9-1~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp-pecl-memcache.git;a=commitdiff_plain;h=8d125064d199615c594681be3d0bed7b7edaf308 mark tests properly skipped https://github.com/websupport-sk/pecl-memcache/pull/16 --- diff --git a/php-pecl-memcache.spec b/php-pecl-memcache.spec index e2f6502..9d8dcf4 100644 --- a/php-pecl-memcache.spec +++ b/php-pecl-memcache.spec @@ -21,6 +21,7 @@ Source2: %{modname}-apache.conf Source3: %{modname}-lighttpd.conf Source4: config.php Patch0: %{modname}-webapp.patch +Patch1: tests.patch URL: http://pecl.php.net/package/memcache/ BuildRequires: %{php_name}-devel >= 3:5.0.0 BuildRequires: %{php_name}-xml @@ -88,6 +89,7 @@ memcache. %setup -qc mv pecl-%{modname}-*/{.??*,*} . %patch0 -p1 +%patch1 -p1 %build packagexml2cl package.xml > ChangeLog diff --git a/tests.patch b/tests.patch new file mode 100644 index 0000000..3976663 --- /dev/null +++ b/tests.patch @@ -0,0 +1,20 @@ + +move connect to proper section to make SKIP work + +https://github.com/websupport-sk/pecl-memcache/pull/16 + +--- php70-pecl-memcache-3.0.9/tests/pecl16442.phpt~ 2016-11-23 03:56:10.000000000 +0200 ++++ php70-pecl-memcache-3.0.9/tests/pecl16442.phpt 2016-11-23 03:57:20.017464335 +0200 +@@ -1,10 +1,10 @@ + --TEST-- + PECL bug #16442 (memcache_set fail with integer value) ++--SKIPIF-- ++ + --FILE-- +