diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-08 20:59:20 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-08 20:59:20 +0000 |
commit | 59c6b1073c48befe021de024a693bed94147120c (patch) | |
tree | b63d75f9cfeae6f66131debea9bdb7869c44403f /utils/lit | |
parent | 0e5f7c5d2f81cadfd48a8e4c06578e774fab6006 (diff) | |
download | external_llvm-59c6b1073c48befe021de024a693bed94147120c.zip external_llvm-59c6b1073c48befe021de024a693bed94147120c.tar.gz external_llvm-59c6b1073c48befe021de024a693bed94147120c.tar.bz2 |
[lit] Remove --repeat option, which wasn't that useful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/Test.py | 8 | ||||
-rw-r--r-- | utils/lit/lit/TestRunner.py | 2 | ||||
-rwxr-xr-x | utils/lit/lit/main.py | 8 |
3 files changed, 0 insertions, 18 deletions
diff --git a/utils/lit/lit/Test.py b/utils/lit/lit/Test.py index 9471e3a..cf12425 100644 --- a/utils/lit/lit/Test.py +++ b/utils/lit/lit/Test.py @@ -58,14 +58,6 @@ class Test: self.output = None # The wall time to execute this test, if timing and once complete. self.elapsed = None - # The repeat index of this test, or None. - self.index = None - - def copyWithIndex(self, index): - import copy - res = copy.copy(self) - res.index = index - return res def setResult(self, result, output, elapsed): assert self.result is None, "Test result already set!" diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py index 9fe9eb9..27e29b7 100644 --- a/utils/lit/lit/TestRunner.py +++ b/utils/lit/lit/TestRunner.py @@ -344,8 +344,6 @@ def parseIntegratedTestScript(test, normalize_slashes=False, execdir,execbase = os.path.split(execpath) tmpDir = os.path.join(execdir, 'Output') tmpBase = os.path.join(tmpDir, execbase) - if test.index is not None: - tmpBase += '_%d' % test.index # Normalize slashes, if requested. if normalize_slashes: diff --git a/utils/lit/lit/main.py b/utils/lit/lit/main.py index 9fff757..5eaf725 100755 --- a/utils/lit/lit/main.py +++ b/utils/lit/lit/main.py @@ -242,9 +242,6 @@ def main(builtinParameters = {}): group.add_option("", "--show-tests", dest="showTests", help="Show all discovered tests", action="store_true", default=False) - group.add_option("", "--repeat", dest="repeatTests", metavar="N", - help="Repeat tests N times (for timing)", - action="store", default=None, type=int) parser.add_option_group(group) (opts, args) = parser.parse_args() @@ -347,11 +344,6 @@ def main(builtinParameters = {}): header = '-- Testing: %d%s tests, %d threads --'%(len(tests),extra, opts.numThreads) - if opts.repeatTests: - tests = [t.copyWithIndex(i) - for t in tests - for i in range(opts.repeatTests)] - progressBar = None if not opts.quiet: if opts.succinct and opts.useProgressBar: |