1 AT_BANNER([SPLIT FILE])
3 AT_SETUP([SPLIT FILE - basic test])
4 AT_DATA([split-file.sps], [dnl
5 title 'Test SPLIT FILE utility'.
7 data list notable /X 1 Y 2.
26 AT_CHECK([pspp -o pspp.csv split-file.sps])
27 AT_CHECK([cat pspp.csv], [0], [dnl
28 Title: Test SPLIT FILE utility
61 AT_SETUP([SPLIT FILE - vs procedures])
62 AT_DATA([split-file.sps], [dnl
64 * This test is a compendium of those procedures which might
65 * have problems when run in conjunction with SPLITS.
67 data list list /a b c q g *.
79 * The commented out lines are ones which currently fail.
81 AGGREGATE outfile='foo' /break=c /X=sum(a).
82 AUTORECODE variables = c into d .
83 COUNT e = c (1 2 3 4 5 6 7).
85 CORRELATIONS /VARIABLES = a b.
90 FACTOR /VARIABLES = b c d.
95 LOGISTIC REGRESSION q WITH b.
97 NPAR TESTS /MCNEMAR q.
101 REGRESSION /VARIABLES = c /DEPENDENT = q.
102 RELIABILITY /VARIABLES = c b d.
103 RENAME VARIABLES (b = bb).
106 SAVE outfile='xx.sav'.
108 T-TEST /GROUP=q(0,1) /VARIABLES=bb.
110 * FLIP /VARIABLES = bb, c .
116 AT_CHECK([pspp -O format=csv split-file.sps], [0],[ignore])