X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fautorecode.at;h=f639b078a493dfc2f895e2ee155c7c5ef582b17e;hb=899ca177810116bc0ff1c4bcce9368d79cd71d42;hp=42f3cd32c0c9dc5cad19245bc7101562ac760306;hpb=facb4a1ad3c9e8b2cdf55824680eed2afb91aebe;p=pspp diff --git a/tests/language/stats/autorecode.at b/tests/language/stats/autorecode.at index 42f3cd32c0..f639b078a4 100644 --- a/tests/language/stats/autorecode.at +++ b/tests/language/stats/autorecode.at @@ -142,8 +142,8 @@ list. AT_CHECK([pspp -O format=csv autorecode.sps], [0], [Table: Reading 1 record from INLINE. Variable,Record,Columns,Format -X,1,1- 5,A5 -Y,1,7- 7,F1.0 +X,1,1-5,A5 +Y,1,7-7,F1.0 Table: Recoding X into A. Old Value,New Value,Value Label @@ -227,8 +227,8 @@ thingummies,6,3 oojimiflips,7,2 Table: Variables -Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values -new,3,tracking my stuff,Scale,Input,8,Right,F1.0,F1.0, +Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format +new,3,tracking my stuff,Nominal,Input,8,Right,F1.0,F1.0 Table: Value Labels Variable Value,,Label @@ -454,8 +454,8 @@ list. AT_CHECK([pspp -O format=csv autorecode.sps], [0], [dnl Table: Reading 1 record from INLINE. Variable,Record,Columns,Format -X,1,1- 5,A5 -Y,1,7- 7,F1.0 +X,1,1-5,A5 +Y,1,7-7,F1.0 Table: Recoding X into A. Old Value,New Value,Value Label @@ -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