tests: Ignore Pango warnings when generating charts.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 3 Aug 2020 04:28:38 +0000 (04:28 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 3 Aug 2020 04:28:38 +0000 (04:28 +0000)
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
tests/language/stats/graph.at

index 3d0d55221e2f0fe8a1ec6c93bfcb373085071f53..df52790acf97475171262f0d0953426615702579 100644 (file)
@@ -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
index 89127163b816b16102eb2de79808f4244d0c986f..ddabe6c98797c6af2aeec252f2ee98c4a59fc1ee 100644 (file)
@@ -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