tests: Tag all the tests that take more than about 1s as "slow".
[pspp] / tests / libpspp / stringi-set.at
index b38e8479a5c328123c1d1155ad882148f51ca3fb..98bf6dc37539579c398baf9c0c22591ffaac22fc 100644 (file)
@@ -1,21 +1,37 @@
+dnl PSPP - a program for statistical analysis.
+dnl Copyright (C) 2017 Free Software Foundation, Inc.
+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 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 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
 AT_BANNER([case-insensitive string set library])
 
 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])