Fixed bug where an empty chart (one with no data) would crash.
[pspp] / tests / output / charts.at
index 7cbaeb2e823fc5ed78adf454743f0b91bddaf1f4..59ad8ca319a9584780ea0e36572d0538ad274865 100644 (file)
@@ -235,3 +235,37 @@ CROSSTABS
 AT_CHECK([pspp  -o pspp.txt xxx.sps], [0], [ignore])
 
 AT_CLEANUP
+
+
+
+
+AT_SETUP([BOXPLOT Empty])
+AT_DATA([bp.sps],[
+DATA LIST LIST /X * Y * .
+BEGIN DATA
+1
+2
+2
+2
+3
+END DATA
+
+EXAMINE
+    /VARIABLES = Y
+    /PLOT = BOXPLOT.
+])
+
+
+AT_CHECK([pspp -o pspp.txt bp.sps], [0], [ignore])
+
+AT_CLEANUP
+
+
+
+
+
+
+
+
+
+