From ce4541a84961ad1e4fa814ece374360a79044bf7 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 3 Aug 2020 04:28:38 +0000 Subject: [PATCH] tests: Ignore Pango warnings when generating charts. On mingw, Pango complains about font names. It's harmless. I don't know a way to suppress the warning. --- tests/language/stats/frequencies.at | 2 +- tests/language/stats/graph.at | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/language/stats/frequencies.at b/tests/language/stats/frequencies.at index 3d0d55221e..df52790acf 100644 --- a/tests/language/stats/frequencies.at +++ b/tests/language/stats/frequencies.at @@ -219,7 +219,7 @@ frequencies /x ]) # Cannot use the CSV driver for this because it does not output charts # at all. -AT_CHECK([pspp -O format=pdf frequencies.sps], [0], [ignore]) +AT_CHECK([pspp -O format=pdf frequencies.sps], [0], [ignore], [ignore]) AT_CLEANUP # Tests for a bug which crashed PSPP when the median and a histogram diff --git a/tests/language/stats/graph.at b/tests/language/stats/graph.at index 89127163b8..ddabe6c987 100644 --- a/tests/language/stats/graph.at +++ b/tests/language/stats/graph.at @@ -92,7 +92,7 @@ Recode CityNum ]) -AT_CHECK([pspp -O format=pdf scatterlong.sps], [0], [ignore]) +AT_CHECK([pspp -O format=pdf scatterlong.sps], [0], [ignore], [ignore]) AT_CLEANUP AT_SETUP([GRAPH missing values don't crash]) @@ -112,7 +112,7 @@ graph graph /histogram = x. ]) -AT_CHECK([pspp -o pspp.pdf scatter.sps]) +AT_CHECK([pspp -o pspp.pdf scatter.sps], [], [ignore]) dnl Ignore output -- this is just a no-crash check. AT_CLEANUP @@ -135,7 +135,7 @@ graph /histogram = x /missing = VARIABLE. ]) -AT_CHECK([pspp -o pspp.pdf scatter.sps]) +AT_CHECK([pspp -o pspp.pdf scatter.sps], [], [ignore]) dnl Ignore output -- this is just a no-crash check. AT_CLEANUP @@ -159,7 +159,7 @@ graph /scatterplot = x with y by z. ]) -AT_CHECK([pspp -o pspp.pdf scatter.sps]) +AT_CHECK([pspp -o pspp.pdf scatter.sps], [0], [ignore]) dnl Ignore output -- this is just a no-crash check. AT_CLEANUP -- 2.30.2