1 AT_BANNER([COMPUTE transformation])
3 AT_SETUP([COMPUTE crash with SAVE])
11 SAVE outfile='temp.sav'.
13 AT_CHECK([pspp -O format=csv compute.sps])
18 AT_CHECK([pspp -O format=csv list.sps], [0],
22 AT_SETUP([COMPUTE bug in long string UPCASE])
23 AT_DATA([compute.sps],
37 AT_CHECK([pspp -O format=csv compute.sps], [0],
38 [Table: Reading free-form data from INLINE.
50 AT_SETUP([COMPUTE bug with long variable names])
51 AT_DATA([compute.sps],
52 [DATA LIST LIST /longVariablename * x *.
59 COMPUTE longvariableName=100-longvariablename.
63 AT_CHECK([pspp -O format=csv compute.sps], [0],
64 [Table: Reading free-form data from INLINE.
76 AT_SETUP([COMPUTE self-reference to new variable])
77 AT_DATA([compute.sps],
80 PRINT OUTFILE='compute-sum.out' /ITEM SUM.
89 AT_CHECK([pspp -O format=csv compute.sps], [0],
90 [Table: Reading 1 record from INLINE.
91 Variable,Record,Columns,Format
94 AT_CHECK([cat compute-sum.out], [0],