docs
[pspp] / tests / atlocal.in
index 35e763ed66de56697a957561d7077cba29cad0e4..42119f32494740d1d5c480ba41277b9b94dc3141 100644 (file)
@@ -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,9 +65,8 @@ 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
@@ -77,6 +78,11 @@ if test X"$RUNNER" = Xwine; then
     }
 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