[perl-OpenOffice-UNO] Try to avoid having tests running in parallel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 02160656b8e794e2124eb9ce4e0e354ad3683d8b
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Feb 5 15:06:01 2013 +0000

    Try to avoid having tests running in parallel

 perl-OpenOffice-UNO.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/perl-OpenOffice-UNO.spec b/perl-OpenOffice-UNO.spec
index 13e905d..352d134 100644
--- a/perl-OpenOffice-UNO.spec
+++ b/perl-OpenOffice-UNO.spec
@@ -63,7 +63,8 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 setsid ooffice --headless --accept='socket,host=localhost,port=8100;urp;StarOffice.ServiceManager' &
 trap "kill -- -$! ||:" EXIT
-sleep 10 # In fact, OpenOffice is known to start almost instantaneously
+# Try to avoid having tests running in parallel
+sleep $(expr \( %__isa_bits - 30 \) \* 4)
 make test
 
 
@@ -82,6 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Sun Feb  3 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-7
 - Drop requirement for libreoffice-sdk < 4; builds OK with LibreOffice 4
+- Try to avoid having tests running in parallel
 
 * Fri Nov  9 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-6
 - Tweak Makefile.PL so we don't end up finding libsal_textenc when we're
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux