[perl-OpenOffice-UNO] Try to avoid having tests running in parallel
Paul Howarth
pghmcfc at fedoraproject.org
Tue Feb 5 15:06:24 UTC 2013
commit 02160656b8e794e2124eb9ce4e0e354ad3683d8b
Author: Paul Howarth <paul at city-fan.org>
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 at city-fan.org> - 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 at city-fan.org> - 0.07-6
- Tweak Makefile.PL so we don't end up finding libsal_textenc when we're
More information about the scm-commits
mailing list