diff options
author | Kamil Rytarowski <n54@gmx.com> | 2019-01-05 20:11:54 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2019-01-05 20:11:54 +0000 |
commit | 74b936ec980f291df8b6985bd32dcd97a4d7024b (patch) | |
tree | ae130ab8f14bc2aa41d49b286a73d201081841eb /libcxx | |
parent | 175890e1ebb0eb72ce81ea3602fcc31eee462039 (diff) |
Revert "D56064: More tolerance for flaky tests in libc++ on NetBSD"
Requested by EricWF.
llvm-svn: 350477
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/utils/libcxx/test/format.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libcxx/utils/libcxx/test/format.py b/libcxx/utils/libcxx/test/format.py index 46b2e46ac8c2..6a334ac31cf4 100644 --- a/libcxx/utils/libcxx/test/format.py +++ b/libcxx/utils/libcxx/test/format.py @@ -12,7 +12,6 @@ import errno import os import time import random -import platform import lit.Test # pylint: disable=import-error import lit.TestRunner # pylint: disable=import-error @@ -203,12 +202,6 @@ class LibcxxTestFormat(object): for f in os.listdir(local_cwd) if f.endswith('.dat')] is_flaky = self._get_parser('FLAKY_TEST.', parsers).getValue() max_retry = 3 if is_flaky else 1 - - # LIBC++ tests tend to be more flaky on NetBSD, so add more retries. - # We don't do this on other platforms because it's slower. - if platform.system() in ['NetBSD']: - max_retry = max_retry * 3 - for retry_count in range(max_retry): cmd, out, err, rc = self.executor.run(exec_path, [exec_path], local_cwd, data_files, |