This commit is contained in:
Remi Collet 2023-08-04 08:53:13 +02:00
commit 8cc665fde1
2 changed files with 8 additions and 4 deletions

View file

@ -72,7 +72,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
if ($composer && $phar) {
print 'More than one test fixture autoloader is available, exiting.' . PHP_EOL;
@@ -28,10 +28,14 @@ if (!$composer && !$phar) {
@@ -28,10 +28,15 @@ if (!$composer && !$phar) {
if ($composer) {
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {
@ -84,6 +84,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
+ require_once PHPUNIT_COMPOSER_INSTALL;
+ require_once __DIR__ . '/_files/CoverageNamespacedFunctionTest.php';
+ require_once __DIR__ . '/_files/CoveredFunction.php';
+ require_once __DIR__ . '/_files/Generator.php';
+ require_once __DIR__ . '/_files/NamespaceCoveredFunction.php';
+ require_once __DIR__ . '/autoload.php';
}

View file

@ -11,7 +11,7 @@
%bcond_without tests
%global gh_commit a215d9ee8bac1733796e4ddff3306811f14414e5
%global gh_commit c87ae282d17b256d09cfef0eb4f5db2d09cfd36a
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@ -23,9 +23,9 @@
%global ns_vendor PHPUnit10
%global php_home %{_datadir}/php
%global ver_major 10
%global ver_minor 2
%global ver_minor 3
%global upstream_version 10.2.7
%global upstream_version 10.3.0
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@ -249,6 +249,9 @@ exit $ret
%changelog
* Fri Aug 4 2023 Remi Collet <remi@remirepo.net> - 10.3.0-1
- update to 10.3.0
* Wed Aug 2 2023 Remi Collet <remi@remirepo.net> - 10.2.7-1
- update to 10.2.7
- raise dependency on sebastian/global-state 6.0.1