aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/atlocal.in
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-10 02:00:58 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-10 03:16:18 +0300
commitc462509adfd68e8b849b8a6713360fb4f9026578 (patch)
tree98dc8d67d573cef516d405c1f35e1e93dbc771a5 /tests/atlocal.in
parent72aa210cc103af971c7a77660f014b11475af3aa (diff)
downloadsciteco-c462509adfd68e8b849b8a6713360fb4f9026578.tar.gz
fixed formatting of the smallest possible integer
* In other words, fixed `-9223372036854775808\` on --with-teco-integer=64 (which is the default). * The reason is that ABS(G_MININT64) == G_MININT64 since -G_MININT64 == G_MININT64. It is therefore important not to call ABS() on arbitrary teco_int_t's.
Diffstat (limited to 'tests/atlocal.in')
-rw-r--r--tests/atlocal.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 8465f96..1992c54 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -26,6 +26,13 @@ ESCAPE=`printf '\33'`
# is used.
SCITECOPATH="@abs_top_srcdir@/lib"
+TECO_INTEGER=@TECO_INTEGER@
+
+MAXINT32=2147483647
+MININT32=-2147483648
+MAXINT64=9223372036854775807
+MININT64=-9223372036854775808
+
GREP="@GREP@"
# Glib debug options