From 57103df2faaf7dab950762039d14c71c85b82342 Mon Sep 17 00:00:00 2001 From: ayers Date: Mon, 7 Jul 2003 11:20:03 +0000 Subject: [PATCH] * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20 invocations. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17169 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 ++ Testing/nstimer.m | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8ca782c5a..df400cf3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ Added typedef for GSIVar. (GSCGetInstanceVariableDefinition): New function. (GSObjCGetInstanceVariableDefinition): Ditto. + * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20 + invocations. 2003-07-07 Richard Frith-Macdonald diff --git a/Testing/nstimer.m b/Testing/nstimer.m index f4e151626..f4c07b47e 100644 --- a/Testing/nstimer.m +++ b/Testing/nstimer.m @@ -12,6 +12,8 @@ { static int count = 0; printf ("Timer fired %d times\n", ++count); + if (count == 20) + exit(0); } + (double) testDouble {