tests: Always set a paper size.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 2 Aug 2020 19:05:52 +0000 (19:05 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 2 Aug 2020 22:32:42 +0000 (22:32 +0000)
Normally PSPP can find a default paper size but this isn't necessarily true
inside, e.g., a build container, so set a default to avoid test failures.

tests/atlocal.in

index da9446e42144b110a07f979226a0785f5df925d8..35e763ed66de56697a957561d7077cba29cad0e4 100644 (file)
@@ -80,3 +80,6 @@ fi
 # 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