X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fautorecode.at;h=7e886fa08cdb06e8ecddee8b3bde2ef37e924b68;hb=5d612c43713291cae1aa473ee3d31786ef6f5b99;hp=2267a80a90497be84540f66dd0314b9d627d178f;hpb=899e0af5a1de32d108cb27fdca2c8c105f5bdd45;p=pspp diff --git a/tests/language/stats/autorecode.at b/tests/language/stats/autorecode.at index 2267a80a90..7e886fa08c 100644 --- a/tests/language/stats/autorecode.at +++ b/tests/language/stats/autorecode.at @@ -1,16 +1,16 @@ dnl PSPP - a program for statistical analysis. dnl Copyright (C) 2017 Free Software Foundation, Inc. -dnl +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 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 dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . dnl @@ -246,7 +246,7 @@ AT_DATA([ar-group.sps], [data list notable list /x y (f8.0). begin data. 11 10 -12 12 +12 12 13 15 14 11 15 12 @@ -255,7 +255,7 @@ end data. missing values y (12). -autorecode +autorecode x y into a b /group /print. @@ -349,11 +349,11 @@ AT_DATA([ar-strings.sps], begin data. one nine two ten -three eleven +three eleven four nought end data. -autorecode a b into x y +autorecode a b into x y /group /print. @@ -522,3 +522,24 @@ x,y 8,4 ]) AT_CLEANUP + + +AT_SETUP([AUTORECODE with /BLANK without specifier]) + +AT_DATA([autorecode.sps], [data list notable list /x (a18). +begin data +one +two +three +end data. + +* /BLANK should be either =MISSING or =VALID +autorecode x /into y + /blank + +execute. +]) + +AT_CHECK([pspp -O format=csv autorecode.sps], [1], [ignore]) + +AT_CLEANUP