Skip forks test, which doesn't work in koji.
This commit is contained in:
parent
f9ffa0044b
commit
9beb9f05f5
17
perl-5.14.1-offtest.patch
Normal file
17
perl-5.14.1-offtest.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff -up perl-5.14.1/cpan/File-Temp/t/fork.t.off perl-5.14.1/cpan/File-Temp/t/fork.t
|
||||||
|
--- perl-5.14.1/cpan/File-Temp/t/fork.t.off 2011-04-13 13:36:34.000000000 +0200
|
||||||
|
+++ perl-5.14.1/cpan/File-Temp/t/fork.t 2011-06-20 10:29:31.536282611 +0200
|
||||||
|
@@ -12,12 +12,8 @@ BEGIN {
|
||||||
|
$Config::Config{useithreads} and
|
||||||
|
$Config::Config{ccflags} =~ /-DPERL_IMPLICIT_SYS/
|
||||||
|
);
|
||||||
|
- if ( $can_fork ) {
|
||||||
|
- print "1..8\n";
|
||||||
|
- } else {
|
||||||
|
- print "1..0 # Skip No fork available\n";
|
||||||
|
+ print "1..0 # Skip Koji doesn't work with Perl fork tests\n";
|
||||||
|
exit;
|
||||||
|
- }
|
||||||
|
}
|
||||||
|
|
||||||
|
use File::Temp;
|
@ -60,6 +60,9 @@ Patch6: perl-disable_test_hosts.patch
|
|||||||
# systems.
|
# systems.
|
||||||
Patch7: perl-5.10.0-x86_64-io-test-failure.patch
|
Patch7: perl-5.10.0-x86_64-io-test-failure.patch
|
||||||
|
|
||||||
|
# switch off test, which is failing only on koji (fork)
|
||||||
|
Patch8: perl-5.14.1-offtest.patch
|
||||||
|
|
||||||
# Update some of the bundled modules
|
# Update some of the bundled modules
|
||||||
# see http://fedoraproject.org/wiki/Perl/perl.spec for instructions
|
# see http://fedoraproject.org/wiki/Perl/perl.spec for instructions
|
||||||
|
|
||||||
@ -1031,6 +1034,7 @@ tarball from perl.org.
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
#copy the example script
|
#copy the example script
|
||||||
cp -a %{SOURCE5} .
|
cp -a %{SOURCE5} .
|
||||||
@ -2050,6 +2054,7 @@ sed \
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.14.0-171
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.14.0-171
|
||||||
- update to 5.14.1 - no new modules, just serious bugfixes and doc
|
- update to 5.14.1 - no new modules, just serious bugfixes and doc
|
||||||
|
- switch off fork test, which is failing only on koji
|
||||||
|
|
||||||
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.14.0-170
|
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4:5.14.0-170
|
||||||
- try to update to latest ExtUtils::MakeMaker, no luck -> rebuild with current
|
- try to update to latest ExtUtils::MakeMaker, no luck -> rebuild with current
|
||||||
|
Loading…
Reference in New Issue
Block a user