aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/atlocal.in
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 00:44:34 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 02:55:06 +0300
commit3a1eaff81196650214bcdbee3c98098ed02f77cb (patch)
tree54d7b883e2c156d16f976546ecb30ac8cfe87b68 /tests/atlocal.in
parente3498abfd8d95dbd083ccfd1d386f9ad37044a43 (diff)
downloadsciteco-3a1eaff81196650214bcdbee3c98098ed02f77cb.tar.gz
opener.tes: Fixed +line,column syntax
* After detecting +line[,column] constructs, the next argument is not parsed as a potential filename:line[:column] construct. * This code turned out to be tricky to get right, so I added a test case. Standard library modules can well be checked in the test suite since we have $SCITECOPATH pointing to the source tree's lib/ directory. * Make sure that relevant variables from atlocal.in are really exported into the process environment. This was also broken for the Glib debug options.
Diffstat (limited to 'tests/atlocal.in')
-rw-r--r--tests/atlocal.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 1992c54..1c4ca89 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -24,7 +24,7 @@ ESCAPE=`printf '\33'`
# Make sure that the standard library from the source package
# is used.
-SCITECOPATH="@abs_top_srcdir@/lib"
+export SCITECOPATH="@abs_top_srcdir@/lib"
TECO_INTEGER=@TECO_INTEGER@
@@ -36,17 +36,17 @@ MININT64=-9223372036854775808
GREP="@GREP@"
# Glib debug options
-G_SLICE=debug-blocks
-G_ENABLE_DIAGNOSTIC=1
+export G_SLICE=debug-blocks
+export G_ENABLE_DIAGNOSTIC=1
# For the Unicode tests - makes sure that UTF-8 characters
# are accepted on command lines.
case $host in
*-*-darwin*)
- LC_ALL=`defaults read -g AppleLocale | @SED@ 's/@.*$//g'`.UTF-8
+ export LC_ALL=`defaults read -g AppleLocale | @SED@ 's/@.*$//g'`.UTF-8
;;
*)
- LC_ALL=C.UTF-8
+ export LC_ALL=C.UTF-8
;;
esac