pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/clisp Tweak the getrusage test to a much larger l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d541f50e9c75
branches:  trunk
changeset: 460071:d541f50e9c75
user:      jmc <jmc%pkgsrc.org@localhost>
date:      Mon Aug 18 05:31:03 2003 +0000

description:
Tweak the getrusage test to a much larger loop value as my machine was fast
enough in the testing for instance that it never got usage on the process.

diffstat:

 lang/clisp/distinfo         |   4 +++-
 lang/clisp/patches/patch-aj |  13 +++++++++++++
 lang/clisp/patches/patch-ak |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 0f7523f40f18 -r d541f50e9c75 lang/clisp/distinfo
--- a/lang/clisp/distinfo       Mon Aug 18 04:05:11 2003 +0000
+++ b/lang/clisp/distinfo       Mon Aug 18 05:31:03 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2003/07/13 14:34:49 dillo Exp $
+$NetBSD: distinfo,v 1.6 2003/08/18 05:31:03 jmc Exp $
 
 SHA1 (clisp-2.30.tar.bz2) = 7335116934d30cb327f4724047a1362498b85520
 Size (clisp-2.30.tar.bz2) = 5652698 bytes
@@ -11,3 +11,5 @@
 SHA1 (patch-ag) = 5ad9fe11abdea49780bdd0a01bf697d8ad07123c
 SHA1 (patch-ah) = ab42e8107d24a6ac86992aad5aa335ad33cfac62
 SHA1 (patch-ai) = 89f19718514b813b008ed92de8b538c76d341a53
+SHA1 (patch-aj) = 529b11e3cc3a3f72d4428d6f69bdce7bb9b33b97
+SHA1 (patch-ak) = f9152d73ddb74d4190ca6a91439a9173fbab5274
diff -r 0f7523f40f18 -r d541f50e9c75 lang/clisp/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/clisp/patches/patch-aj       Mon Aug 18 05:31:03 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2003/08/18 05:31:04 jmc Exp $
+
+--- configure.orig     Sun Aug 17 23:52:14 2003
++++ configure  Sun Aug 17 23:52:50 2003
+@@ -13599,7 +13599,7 @@
+   if (!(getrusage(RUSAGE_SELF, &prev) == 0)) exit(1);
+   sleep (1);
+ 
+-  while (++count < 10000)
++  while (++count < 100000)
+     {
+       getrusage(RUSAGE_SELF, &used);
+       if ((used.ru_utime.tv_usec != prev.ru_utime.tv_usec)
diff -r 0f7523f40f18 -r d541f50e9c75 lang/clisp/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/clisp/patches/patch-ak       Mon Aug 18 05:31:03 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2003/08/18 05:31:04 jmc Exp $
+
+--- autoconf/aclocal.m4.orig   Sun Aug 17 23:54:26 2003
++++ autoconf/aclocal.m4        Sun Aug 17 23:54:35 2003
+@@ -5645,7 +5645,7 @@
+   if (!(getrusage(RUSAGE_SELF, &prev) == 0)) exit(1);
+   sleep (1);
+ 
+-  while (++count < 10000)
++  while (++count < 100000)
+     {
+       getrusage(RUSAGE_SELF, &used);
+       if ((used.ru_utime.tv_usec != prev.ru_utime.tv_usec)



Home | Main Index | Thread Index | Old Index