projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cairo: Fix font scaling.
[pspp]
/
tests
/
language
/
stats
/
sort-cases.at
diff --git
a/tests/language/stats/sort-cases.at
b/tests/language/stats/sort-cases.at
index 4f6492d964b932868f9517bad8505f36b5ffa057..5217e64d3f7efad3a367bc5c2240a63ff2fff86d 100644
(file)
--- a/
tests/language/stats/sort-cases.at
+++ b/
tests/language/stats/sort-cases.at
@@
-1,16
+1,16
@@
dnl PSPP - a program for statistical analysis.
dnl Copyright (C) 2017 Free Software Foundation, Inc.
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 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 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
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
@@
-53,9
+53,9
@@
EOF
}
m4_divert_pop([PREPARE_TESTS])
}
m4_divert_pop([PREPARE_TESTS])
-m4_define([SORT_CASES_TEST],
+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_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])
AT_CHECK([sort_cases_gen_data $1 $2 $3])
AT_CAPTURE_FILE([data.txt])
AT_CAPTURE_FILE([output.txt])
@@
-84,17
+84,17
@@
SORT_CASES_TEST(100, 10, 3)
SORT_CASES_TEST(100, 10, 5)
SORT_CASES_TEST(100, 10)
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])
dnl Bug #33089 caused SORT CASES to delete filtered cases permanently.
AT_SETUP([SORT CASES preserves filtered cases])