X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fatlocal.in;h=4170feda3337d2e76b4fa23cc380e6d443394c15;hb=279f6ff7d1eb68e54644ebd6000ee03d783f5b08;hp=da9446e42144b110a07f979226a0785f5df925d8;hpb=facb4a1ad3c9e8b2cdf55824680eed2afb91aebe;p=pspp diff --git a/tests/atlocal.in b/tests/atlocal.in index da9446e421..4170feda33 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -21,7 +21,9 @@ # Variables used internally by the testsuite. EXEEXT='@EXEEXT@' PERL='@PERL@' -PYTHON='@PYTHON@' +PYTHON3='@PYTHON3@' +TEX='@TEX@' +GWC='@GWC@' WITH_PERL_MODULE='@WITH_PERL_MODULE@' host='@host@' PACKAGE_STRING='@PACKAGE_STRING@' @@ -63,20 +65,27 @@ export GZIP WINEPREFIX=$HOME/.wine # Work around the following kludge to keep wine happy export WINEPREFIX - -HOME=/nonexistent # Kluge to make PSPP ignore $HOME/.pspprc. -export HOME +# Make PSPP ignore $HOME/.pspprc. +alias pspp='pspp --no-statrc' # Avoids error messages during tests if $TERM is set to an unknown terminal. TERM=; unset TERM -pspp_diff=`which diff` +pspp_diff=`command -v diff` if test X"$RUNNER" = Xwine; then diff () { $pspp_diff -w "$@" } fi +case $host in + *-*-mingw*) MINGW=: ;; + *) MINGW=false ;; +esac + # Enable leak suppressions for Address Sanitizer/Leak Sanitizer. LSAN_OPTIONS="suppressions=$abs_top_srcdir/tests/lsan.supp print_suppressions=0" export LSAN_OPTIONS + +# Avoid complaints if the system doesn't have a configured paper size. +export PAPERSIZE=a4