From f734daf36db138ae5f9105ed8db1c88c50222d7f Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Sat, 16 Sep 2017 15:48:30 +0000 Subject: [PATCH] [lit] Fix the lit unit tests. A few tests were manually constructing a LitConfig object, since I added a new argument to it this was triggering some failures I didn't detect. `ninja check-lit` passes now. llvm-svn: 313461 --- llvm/utils/lit/lit/discovery.py | 1 + llvm/utils/lit/tests/unit/TestRunner.py | 1 + 2 files changed, 2 insertions(+) diff --git a/llvm/utils/lit/lit/discovery.py b/llvm/utils/lit/lit/discovery.py index 3b5d0517cffd..a5902d365df3 100644 --- a/llvm/utils/lit/lit/discovery.py +++ b/llvm/utils/lit/lit/discovery.py @@ -257,6 +257,7 @@ def load_test_suite(inputs): useValgrind = False, valgrindLeakCheck = False, valgrindArgs = [], + singleProcess=False, noExecute = False, debug = False, isWindows = (platform.system()=='Windows'), diff --git a/llvm/utils/lit/tests/unit/TestRunner.py b/llvm/utils/lit/tests/unit/TestRunner.py index 79cc10f7e14d..874bf275d4ea 100644 --- a/llvm/utils/lit/tests/unit/TestRunner.py +++ b/llvm/utils/lit/tests/unit/TestRunner.py @@ -28,6 +28,7 @@ class TestIntegratedTestKeywordParser(unittest.TestCase): quiet=False, useValgrind=False, valgrindLeakCheck=False, + singleProcess=False, valgrindArgs=[], noExecute=False, debug=False,