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 <http://www.gnu.org/licenses/>.
dnl
m4_divert_pop([PREPARE_TESTS])
AT_SETUP([numeric input formats])
-AT_KEYWORDS([data-in])
+AT_KEYWORDS([data-in slow])
data_in_prng
AT_CHECK([$PERL test-my-rand.pl])
AT_DATA([num-in.pl],
data list file='bignum.txt'/BIGNUM 1-40.
list.
-*** Do the nonportable output for fun.
+*** Do the nonportable output for fun.
descriptives BIGNUM.
])
AT_CHECK([pspp -o pspp.csv bignum.sps], [0], [ignore])
AT_CLEANUP
AT_SETUP([DATETIME input format])
-AT_KEYWORDS([data-in])
+AT_KEYWORDS([data-in slow])
AT_SKIP_IF([test "$PYTHON" = none])
AT_CHECK([$PYTHON $top_srcdir/tests/data/test-date-input.py datetime "d-m-y +H:M" "d-m-y +H:M:S"])
AT_FAIL_IF([test ! -s datetime.sps || test ! -s datetime.input || \
AT_CLEANUP
AT_SETUP([YMDHMS input format])
-AT_KEYWORDS([data-in])
+AT_KEYWORDS([data-in slow])
AT_SKIP_IF([test "$PYTHON" = none])
AT_CHECK([$PYTHON $top_srcdir/tests/data/test-date-input.py ymdhms "y-m-d +H:M" "y-m-d +H:M:S"])
AT_FAIL_IF([test ! -s ymdhms.sps || test ! -s ymdhms.input || \
AT_CLEANUP
AT_SETUP([binary and hexadecimal input (IB, PIB, and PIBHEX formats)])
+AT_KEYWORDS([slow])
AT_CHECK([$PERL -e 'print pack "n", $_ foreach 0...65535' > binhex-in.data])
AT_CHECK([[wc -c < binhex-in.data | sed 's/[ ]//g']], [0], [131072
])
AT_CLEANUP
AT_SETUP([BCD input (P and PK formats)])
+AT_KEYWORDS([slow])
AT_CHECK([$PERL -e 'print pack "n", $_ foreach 0...65535' > bcd-in.data])
AT_CHECK([[wc -c < bcd-in.data | sed 's/[ ]//g']], [0], [131072
])
AT_CLEANUP
AT_SETUP([legacy input (N and Z formats)])
+AT_KEYWORDS([slow])
AT_CHECK([$PERL -e 'print pack "n", $_ foreach 0...65535' > legacy-in.data])
AT_CHECK([[wc -c < legacy-in.data | sed 's/[ ]//g']], [0], [131072
])