summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-11 18:49:30 +0000
committerZachary Turner <zturner@google.com>2016-01-11 18:49:30 +0000
commit321b4bba76cf71b2f4b1e78f1746ad92fce168c1 (patch)
tree7a27cf0b428ea707b4930453bb795cc740af2d9e /lldb/packages/Python/lldbsuite/test
parent045cf9befeea716b8fc5631a6be7e4b96f40672d (diff)
downloadbcm5719-llvm-321b4bba76cf71b2f4b1e78f1746ad92fce168c1.tar.gz
bcm5719-llvm-321b4bba76cf71b2f4b1e78f1746ad92fce168c1.zip
Don't run dwo tests for windows targets.
-gsplit-dwarf is not implemented by clang on Windows. As such, all the dwo tests are having the -gsplit-dwarf command line option completely ignored, and the result is you get regular dwarf debug information, and it's just running the exact same tests twice, doubling the length of the test suite for no good reason. llvm-svn: 257363
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/test_categories.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py
index e3e44609105..72b7afdf724 100644
--- a/lldb/packages/Python/lldbsuite/test/test_categories.py
+++ b/lldb/packages/Python/lldbsuite/test/test_categories.py
@@ -44,7 +44,8 @@ def unique_string_match(yourentry, list):
def is_supported_on_platform(category, platform):
if category == "dwo":
- return platform in ["linux", "freebsd", "windows"]
+ # -gsplit-dwarf is not implemented by clang on Windows.
+ return platform in ["linux", "freebsd"]
elif category == "dsym":
return platform in ["darwin", "macosx", "ios"]
return True
OpenPOWER on IntegriCloud