diff options
Diffstat (limited to 'tests/atlocal.in')
| -rw-r--r-- | tests/atlocal.in | 36 |
1 files changed, 10 insertions, 26 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in index 1992c54..b2ceda1 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -4,49 +4,36 @@ host=@host@ # built. # Using the $BOOTSTRAP_SCITECO wouldn't make sense # anyway as we don't want to test some preinstalled SciTECO. -SCITECO="@abs_top_builddir@/src/sciteco" +SCITECO="@LAUNCHER@ @abs_top_builddir@/src/sciteco@EXEEXT@" if [ $at_arg_valgrind != false ]; then SCITECO="valgrind --tool=memcheck --leak-check=full --error-exitcode=66 $SCITECO" fi -# For testing command-line editing: -SCITECO_CMDLINE="$SCITECO --no-profile --fake-cmdline" - -# Control characters for testing immediate editing commands with $SCITECO_CMDLINE. -# Often, we can use {...} for testing rubout, but sometimes this is not enough. -# Directly embedding escapes into strings is not portable. -# Theoretically, we could directly embed control codes, but for the time being -# I am trying to keep non-TECO sources clean of non-printable characters. -RUBOUT=`printf '\8'` -RUBOUT_WORD=`printf '\27'` -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@ +# Some test cases may access files from the tests/ source directory. +export srcdir -MAXINT32=2147483647 -MININT32=-2147483648 -MAXINT64=9223372036854775807 -MININT64=-9223372036854775808 +TECO_INTEGER=@TECO_INTEGER@ +SCITECO_VERSION="@PACKAGE_VERSION@" 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 @@ -54,6 +41,3 @@ esac # Some platforms allow very large stack sizes, making it hard to test # against potential stack overflows. ulimit -s 8192 - -# Test strings used by multiple test cases -WORDS_EXAMPLE="navigating (words is useful" |
