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],
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
])
AT_BANNER([data output (data-out)])
AT_SETUP([numeric format output])
-AT_KEYWORDS([data-out])
+AT_KEYWORDS([data-out slow])
AT_DATA([num-out.pl],
[[use strict;
use warnings 'all';
m4_define([DATASHEET_TEST],
[AT_SETUP([$1x$2, $3 backing rows, backing widths $4])
- AT_KEYWORDS([datasheet])
+ AT_KEYWORDS([datasheet slow])
AT_CHECK(
[datasheet-test --verbosity=0 --max-rows=$1 --max-columns=$2 \
--backing-rows=$3 --backing-widths=$4],
m4_define([CLEANUP_PSQL], [PATH=$PG_PATH:$PATH pg_ctl stop -W -o "-k $socket_dir -h ''"])
AT_SETUP([GET DATA /TYPE=PSQL])
+AT_KEYWORDS([slow])
INIT_PSQL
dnl Test with an ordinary query.
AT_SETUP([GRAPH Scatter and Histogram])
+AT_KEYWORDS([slow])
AT_DATA([scatterlong.sps],[
NEW FILE.
INPUT PROGRAM.
AT_CHECK([pspp -o pspp.pdf barchart.sps], [1], [ignore])
dnl Ignore output -- this is just a no-crash check.
-AT_CLEANUP
\ No newline at end of file
+AT_CLEANUP
AT_CLEANUP
AT_SETUP([QUICK CLUSTER with large data set])
+AT_KEYWORDS([slow])
AT_DATA([quick-cluster.sps], [dnl
input program.
loop #i = 1 to 50000.
m4_define([SORT_CASES_TEST],
[AT_SETUP([sort m4_eval([$1 * $2]) cases[]m4_if([$2], [1], [], [ ($1 unique)])[]m4_if([$3], [], [], [ with $3 buffers])])
- AT_KEYWORDS([SORT CASES])
+ AT_KEYWORDS([SORT CASES $4])
AT_CHECK([sort_cases_gen_data $1 $2 $3])
AT_CAPTURE_FILE([data.txt])
AT_CAPTURE_FILE([output.txt])
SORT_CASES_TEST(100, 10, 5)
SORT_CASES_TEST(100, 10)
-SORT_CASES_TEST(1000, 5, 5)
-SORT_CASES_TEST(1000, 5, 50)
-SORT_CASES_TEST(1000, 5)
+SORT_CASES_TEST(1000, 5, 5, slow)
+SORT_CASES_TEST(1000, 5, 50, slow)
+SORT_CASES_TEST(1000, 5, [], slow)
-SORT_CASES_TEST(100, 100, 3)
-SORT_CASES_TEST(100, 100, 5)
-SORT_CASES_TEST(100, 100)
+SORT_CASES_TEST(100, 100, 3, slow)
+SORT_CASES_TEST(100, 100, 5, slow)
+SORT_CASES_TEST(100, 100, [], slow)
-SORT_CASES_TEST(10000, 5, 500)
+SORT_CASES_TEST(10000, 5, 500, slow)
-SORT_CASES_TEST(50000, 1)
+SORT_CASES_TEST(50000, 1, [], slow)
dnl Bug #33089 caused SORT CASES to delete filtered cases permanently.
AT_SETUP([SORT CASES preserves filtered cases])
m4_define([CHECK_ABT],
[AT_SETUP([ABT -- $1])
+ AT_KEYWORDS([$2])
AT_CHECK([abt-test $1])
AT_CLEANUP])
CHECK_ABT([insert-any-remove-any])
CHECK_ABT([insert-any-remove-same])
CHECK_ABT([insert-any-remove-reverse])
-CHECK_ABT([random-sequence])
+CHECK_ABT([random-sequence], [slow])
CHECK_ABT([insert-ordered])
CHECK_ABT([moved])
CHECK_ABT([changed])
m4_define([CHECK_BT],
[AT_SETUP([BT -- $1])
+ AT_KEYWORDS([$2])
AT_CHECK([bt-test $1])
AT_CLEANUP])
CHECK_BT([insert-any-remove-any])
CHECK_BT([insert-any-remove-same])
CHECK_BT([insert-any-remove-reverse])
-CHECK_BT([random-sequence])
+CHECK_BT([random-sequence], [slow])
CHECK_BT([insert-ordered])
CHECK_BT([find-ge-le])
CHECK_BT([moved])
m4_define([CHECK_LL],
[AT_SETUP([ll -- $1])
+ AT_KEYWORDS([$2])
AT_CHECK([ll-test $1])
AT_CLEANUP])
CHECK_LL([reverse])
CHECK_LL([permutations-no-dups])
CHECK_LL([permutations-with-dups])
-CHECK_LL([merge-no-dups])
-CHECK_LL([merge-with-dups])
+CHECK_LL([merge-no-dups], [slow])
+CHECK_LL([merge-with-dups], [slow])
CHECK_LL([sort-exhaustive])
CHECK_LL([sort-stable])
CHECK_LL([sort-subset])
m4_define([CHECK_LLX],
[AT_SETUP([llx -- $1])
+ AT_KEYWORDS([$2])
AT_CHECK([llx-test $1])
AT_CLEANUP])
CHECK_LLX([reverse])
CHECK_LLX([permutations-no-dups])
CHECK_LLX([permutations-with-dups])
-CHECK_LLX([merge-no-dups])
-CHECK_LLX([merge-with-dups])
+CHECK_LLX([merge-no-dups], [slow])
+CHECK_LLX([merge-with-dups], [slow])
CHECK_LLX([sort-exhaustive])
CHECK_LLX([sort-stable])
CHECK_LLX([sort-subset])
m4_define([CHECK_RANGE_TOWER],
[AT_SETUP([range-tower -- $1])
+ AT_KEYWORDS([slow])
AT_CHECK([range-tower-test $1])
AT_CLEANUP])
m4_define([CHECK_SPARSE_ARRAY],
[AT_SETUP([sparse array -- $1])
- AT_KEYWORDS([sparse-array])
+ AT_KEYWORDS([sparse-array $2])
AT_CHECK([sparse-array-test $1])
AT_CLEANUP])
-CHECK_SPARSE_ARRAY([random-insert-delete])
+CHECK_SPARSE_ARRAY([random-insert-delete], [slow])
AT_SETUP([sparse array -- insert and delete with strides])
-AT_KEYWORDS([sparse-array])
+AT_KEYWORDS([sparse-array slow])
AT_CHECK([sparse-array-test insert-delete-strides], [0], [dnl
1
2
m4_divert_pop([PREPARE_TESTS])
AT_SETUP([in-memory sparse_xarray])
+AT_KEYWORDS([slow])
dnl --values=3 would be a slightly better test but takes much longer.
AT_CHECK([sparse-xarray-test \
--verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
m4_define([SPARSE_XARRAY_ON_DISK],
[AT_SETUP([on-disk sparse_xarray max-memory-rows=$1])
+ AT_KEYWORDS([slow])
AT_CHECK([sparse-xarray-test \
--verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
--columns=2 --max-rows=3 --max-memory-rows=$1 --values=2],
SPARSE_XARRAY_ON_DISK([2])
AT_SETUP([copying between in-memory sparse_xarrays])
-AT_KEYWORDS([sparse_xarray])
+AT_KEYWORDS([sparse_xarray slow])
AT_CHECK([sparse-xarray-test \
--verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
--columns=2 --max-rows=2 --max-memory-rows=2 --values=2 \
m4_define([SPARSE_XARRAY_COPY_DISK],
[AT_SETUP([copying between on-disk sparse_xarrays max-memory-rows=$1])
- AT_KEYWORDS([sparse_xarray])
+ AT_KEYWORDS([sparse_xarray slow])
limit=`sparse_xarray_queue_limit`
AT_CHECK([sparse-xarray-test \
--verbosity=0 --queue-limit=`expr $limit / 2` \
m4_define([CHECK_STRING_MAP],
[AT_SETUP([string map -- $1])
- AT_KEYWORDS([string-map])
+ AT_KEYWORDS([string-map $2])
AT_CHECK([string-map-test $1])
AT_CLEANUP])
-CHECK_STRING_MAP([insert-any-remove-any])
-CHECK_STRING_MAP([insert-any-remove-same])
-CHECK_STRING_MAP([insert-any-remove-reverse])
-CHECK_STRING_MAP([random-sequence])
+CHECK_STRING_MAP([insert-any-remove-any], [slow])
+CHECK_STRING_MAP([insert-any-remove-same], [slow])
+CHECK_STRING_MAP([insert-any-remove-reverse], [slow])
+CHECK_STRING_MAP([random-sequence], [slow])
CHECK_STRING_MAP([replace])
CHECK_STRING_MAP([insert-ordered])
CHECK_STRING_MAP([clear])
m4_define([CHECK_STRINGI_MAP],
[AT_SETUP([case-insensitive string map -- $1])
- AT_KEYWORDS([stringi-map])
+ AT_KEYWORDS([stringi-map $2])
AT_CHECK([stringi-map-test $1])
AT_CLEANUP])
-CHECK_STRINGI_MAP([insert-any-remove-any])
-CHECK_STRINGI_MAP([insert-any-remove-same])
-CHECK_STRINGI_MAP([insert-any-remove-reverse])
-CHECK_STRINGI_MAP([random-sequence])
+CHECK_STRINGI_MAP([insert-any-remove-any], [slow])
+CHECK_STRINGI_MAP([insert-any-remove-same], [slow])
+CHECK_STRINGI_MAP([insert-any-remove-reverse], [slow])
+CHECK_STRINGI_MAP([random-sequence], [slow])
CHECK_STRINGI_MAP([replace])
CHECK_STRINGI_MAP([insert-ordered])
CHECK_STRINGI_MAP([clear])
m4_define([CHECK_STRINGI_SET],
[AT_SETUP([case-insensitive string set -- $1])
- AT_KEYWORDS([stringi-set])
+ AT_KEYWORDS([stringi-set $2])
AT_CHECK([stringi-set-test $1])
AT_CLEANUP])
-CHECK_STRINGI_SET([insert-any-remove-any])
-CHECK_STRINGI_SET([insert-any-remove-same])
-CHECK_STRINGI_SET([insert-any-remove-reverse])
-CHECK_STRINGI_SET([random-sequence])
+CHECK_STRINGI_SET([insert-any-remove-any], [slow])
+CHECK_STRINGI_SET([insert-any-remove-same], [slow])
+CHECK_STRINGI_SET([insert-any-remove-reverse], [slow])
+CHECK_STRINGI_SET([random-sequence], [slow])
CHECK_STRINGI_SET([insert-ordered])
-CHECK_STRINGI_SET([union])
-CHECK_STRINGI_SET([union-and-intersection])
-CHECK_STRINGI_SET([intersect])
-CHECK_STRINGI_SET([subtract])
-CHECK_STRINGI_SET([swap])
-CHECK_STRINGI_SET([clear])
-CHECK_STRINGI_SET([clone])
+CHECK_STRINGI_SET([union], [slow])
+CHECK_STRINGI_SET([union-and-intersection], [slow])
+CHECK_STRINGI_SET([intersect], [slow])
+CHECK_STRINGI_SET([subtract], [slow])
+CHECK_STRINGI_SET([swap], [slow])
+CHECK_STRINGI_SET([clear], [slow])
+CHECK_STRINGI_SET([clone], [slow])
CHECK_STRINGI_SET([destroy-null])
dnl Better tests will come later (hopefully)
AT_SETUP([Examine])
+AT_KEYWORDS([slow])
AT_DATA([charts.sps],[
input program.
loop #i = 1 to 1000.
AT_CLEANUP
AT_SETUP([SIGTERM yields clean shutdown])
+AT_KEYWORDS([slow])
AT_DATA([main.sps], [dnl
INPUT PROGRAM.
COMPUTE x = x + 1.