From b41023c69df591f2d6cb3644bd663d36c98401a8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 15 May 2023 18:46:20 -0700 Subject: [PATCH] tex: Ignore error output from tex. tex writes non-error output to stderr sometimes, especially spew from kpathsea about building formats and fonts. This confused the tests. Thanks to Marshall DeBerry for reporting the problem. --- tests/output/tex.at | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/output/tex.at b/tests/output/tex.at index 1ee1681a35..2ac2b94734 100644 --- a/tests/output/tex.at +++ b/tests/output/tex.at @@ -32,7 +32,7 @@ dnl The wasy10 font and its associated .tex file must be installed. dnl in order to run this test. On Debian based systems this is found dnl in the texlive-fonts-recommended package. AT_SKIP_IF([! kpsewhich wasyfont.tex]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) dnl There should be no overfull boxes AT_CHECK([grep '^Overfull ' pspp.log], [1]) @@ -157,7 +157,7 @@ AT_CHECK([tex-strings -o pspp.tex sample-texts/*], [0], [ignore], [ignore]) AT_SKIP_IF([test "$TEX" = no]) AT_SKIP_IF([! kpsewhich wasyfont.tex]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) test -z "$at_arg_xdvi" || AT_CHECK([$at_arg_xdvi -s 3 pspp.dvi], [0], [ignore]) @@ -186,7 +186,7 @@ AT_CHECK([pspp -O format=tex simple.sps], [0], []) AT_CHECK([CHECK_MAX_LINE_LENGTH([pspp.tex])],[0],[ignore]) AT_SKIP_IF([test "$TEX" = no]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) dnl There should be no overfull boxes AT_CHECK([grep '^Overfull ' pspp.log], [1]) @@ -206,7 +206,7 @@ AT_CHECK([CHECK_MAX_LINE_LENGTH([pspp.tex])],[0],[ignore]) AT_SKIP_IF([test "$TEX" = no]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) test -z "$at_arg_xdvi" || AT_CHECK([$at_arg_xdvi -s 3 pspp.dvi], [0], [ignore]) @@ -240,7 +240,7 @@ AT_CHECK([pspp -O format=tex footnote.sps], [0], []) AT_CHECK([CHECK_MAX_LINE_LENGTH([pspp.tex])],[0],[ignore]) AT_SKIP_IF([test "$TEX" = no]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) dnl There should be no overfull boxes AT_CHECK([grep '^Overfull ' pspp.log], [1]) @@ -284,7 +284,7 @@ dnl The string "??" should not be present in pspp.tex AT_CHECK([grep -F '??' pspp.tex], [1]) AT_SKIP_IF([test "$TEX" = no]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) dnl There should be no overfull boxes AT_CHECK([grep '^Overfull ' pspp.log], [1]) @@ -321,7 +321,7 @@ AT_CHECK([pspp -O format=tex t-test.sps], [0], []) AT_CHECK([CHECK_MAX_LINE_LENGTH([pspp.tex])],[0],[ignore]) AT_SKIP_IF([test "$TEX" = no]) -AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore]) +AT_CHECK([$TEX --halt-on-error pspp.tex], [0], [ignore], [ignore]) dnl There should be no overfull boxes AT_CHECK([grep '^Overfull ' pspp.log], [1]) -- 2.30.2