tests: Tag all the tests that take more than about 1s as "slow".
[pspp] / tests / libpspp / stringi-map.at
index c14f0e6f65f83cd0c81b31c657d5decaa6fc46a5..1724d30bee48c3dc64093ea480ca8b514135b34a 100644 (file)
@@ -1,15 +1,31 @@
+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 map library])
 
 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])