tests: Tag all the tests that take more than about 1s as "slow".
[pspp] / tests / libpspp / string-map.at
index 0c1dbc9ab12c673746e8b7423ac119d4abf2b399..a1fbf31d186ed8606fb6f3c4d06bb1223eb2c032 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([string map library])
 
 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])