Mark a bunch of long running tests as 'REQUIRES: long_tests'

This lets us skip them as UNSUPPORTED on slow systems like QEMU


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jonathan Roelofs 2014-12-11 18:35:36 +00:00
parent 952438bf70
commit d9144e8d17
38 changed files with 86 additions and 0 deletions

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <algorithm> // <algorithm>

View File

@ -406,6 +406,18 @@ class Configuration(object):
self.config.available_features.add(name) self.config.available_features.add(name)
self.config.available_features.add('%s-%s' % (name, ver)) self.config.available_features.add('%s-%s' % (name, ver))
# Simulator testing can take a really long time for some of these tests
# so add a feature check so we can REQUIRES: long_tests in them
self.long_tests = self.get_lit_bool('long_tests')
if self.long_tests is None:
# Default to running long tests.
self.long_tests = True
self.lit_config.note(
"inferred long_tests as: %r" % self.long_tests)
if self.long_tests:
self.config.available_features.add('long_tests')
def configure_compile_flags(self): def configure_compile_flags(self):
# Configure extra compiler flags. # Configure extra compiler flags.
self.compile_flags += ['-I' + self.src_root + '/include', self.compile_flags += ['-I' + self.src_root + '/include',

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>

View File

@ -6,6 +6,8 @@
// Source Licenses. See LICENSE.TXT for details. // Source Licenses. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
//
// REQUIRES: long_tests
// <random> // <random>