|
From: dgildea <dg...@us...> - 2026-06-04 15:45:22
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via 909aa61d7716451bf9061aeb57ef2cf43808a84b (commit)
from 258d3ea3119dc8e8905b36a55e5e43875dae112c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 909aa61d7716451bf9061aeb57ef2cf43808a84b
Author: Dan Gildea <dgildea>
Date: Thu Jun 4 11:43:47 2026 -0400
time test case with elapsed_real_time rather than absolute_real_time
absolute_real_time returns an integer number of seconds - test can
fail if it happens to run just when the second counter ticks over.
diff --git a/tests/rtest_limit.mac b/tests/rtest_limit.mac
index 9597f128d..0736112ce 100644
--- a/tests/rtest_limit.mac
+++ b/tests/rtest_limit.mac
@@ -980,11 +980,11 @@ limit(signum(x)*x/sin(x),x,0);
ind;
/* #895 limit x->inf sin(100/x)*x very slow */
-block([start : absolute_real_time()],
+block([start : elapsed_real_time()],
[limit(sin(100/x)*x,x,inf),
limit(sin(10000/x)*x,x,inf),
limit(sin(10000000/x)*x,x,inf),
- is(absolute_real_time()-start < 1)]);
+ is(elapsed_real_time()-start < 1)]);
[100, 10000, 10000000, true]$
/* #4273 limit(integrate(f(x)*g(x), x), x, a) incorrect results */
-----------------------------------------------------------------------
Summary of changes:
tests/rtest_limit.mac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Maxima CAS
|