X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fgraph.at;h=6a8089c0a245a343e18514a94c18d3fd4b87c70d;hb=5e33eee392ee8e393e757341876b3ebc6c4e7a12;hp=b08f9f26d9a52b4d540cfb669b888786313e584a;hpb=6eb8b4b61976de7a648fe8938ac5b6f5af58773c;p=pspp diff --git a/tests/language/stats/graph.at b/tests/language/stats/graph.at index b08f9f26d9..6a8089c0a2 100644 --- a/tests/language/stats/graph.at +++ b/tests/language/stats/graph.at @@ -1,3 +1,19 @@ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 Free Software Foundation, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl AT_BANNER([GRAPH]) AT_SETUP([GRAPH simple scatterplot]) @@ -25,6 +41,7 @@ AT_CLEANUP AT_SETUP([GRAPH Scatter and Histogram]) +AT_KEYWORDS([slow]) AT_DATA([scatterlong.sps],[ NEW FILE. INPUT PROGRAM. @@ -307,4 +324,26 @@ GRAPH /BAR = MINIMUM(y) BY z BY y. AT_CHECK([pspp -o pspp.pdf barchart.sps], [0], [ignore]) dnl Ignore output -- this is just a no-crash check. -AT_CLEANUP \ No newline at end of file +AT_CLEANUP + + + + + +AT_SETUP([GRAPH buggy syntax]) + +AT_DATA([barchart.sps], [dnl +data list notable list /x y z*. +begin data +1 1 3 +2 1 4 +10 2 4 +end data. + +GRAPH /BAR = MINIMUM({) BY z BY y. +]) + +AT_CHECK([pspp -o pspp.pdf barchart.sps], [1], [ignore]) +dnl Ignore output -- this is just a no-crash check. + +AT_CLEANUP