aboutsummaryrefslogtreecommitdiffstats
path: root/tests/timer
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-13 01:02:54 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-14 13:35:41 +0100
commitf9eda7489b5afba9a0a5f9e1e623d61454b0e7e0 (patch)
tree40f99e9a97eee4df1e0e3edefaa3c506f211d836 /tests/timer
parent36a9cdfcd625f003e50b6077d12e720c66cf6c77 (diff)
tests: Use GNU autotest to execute our tests and compare textual output
The output of make check is looking like this now: Regression tests. 1: bits ok 2: msgfile ok 3: sms ok 4: smscb ok 5: timer FAILED (testsuite.at:38) 6: ussd FAILED (testsuite.at:44)
Diffstat (limited to 'tests/timer')
-rw-r--r--tests/timer/timer_test.ok19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/timer/timer_test.ok b/tests/timer/timer_test.ok
new file mode 100644
index 00000000..b1792f18
--- /dev/null
+++ b/tests/timer/timer_test.ok
@@ -0,0 +1,19 @@
+Running timer test for 16 steps, accepting imprecision of 0.010000 seconds
+added 1 timers in step 0 (expired=0)
+added 2 timers in step 1 (expired=0)
+added 4 timers in step 2 (expired=0)
+added 8 timers in step 3 (expired=0)
+added 16 timers in step 4 (expired=1)
+added 32 timers in step 5 (expired=4)
+added 64 timers in step 6 (expired=33)
+added 128 timers in step 7 (expired=87)
+added 256 timers in step 8 (expired=183)
+added 512 timers in step 9 (expired=466)
+added 1024 timers in step 10 (expired=970)
+added 2048 timers in step 11 (expired=1968)
+added 4096 timers in step 12 (expired=3994)
+added 8192 timers in step 13 (expired=8035)
+added 16384 timers in step 14 (expired=16324)
+added 32768 timers in step 15 (expired=32641)
+Main timer has finished, please, wait a bit for the final report.
+test over: added=65535 expired=65535 too_late=0