tests: Tag all the tests that take more than about 1s as "slow".
[pspp] / tests / libpspp / bt.at
index 62eb80f5cbcd2de215260366a9ce07251d41b1b8..7d907bd8960c5664c74fd2ad29c35fe2345b7c82 100644 (file)
@@ -1,14 +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([Balanced tree (BT) library])
 
 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])