aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py')
-rw-r--r--compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py b/compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py
index 9402356..3cd1aa6 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py
+++ b/compiler-rt/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py
@@ -1,9 +1,10 @@
def getRoot(config):
- if not config.parent:
- return config
- return getRoot(config.parent)
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
root = getRoot(config)
-if root.host_os not in ['NetBSD']:
- config.unsupported = True
+if root.host_os not in ["NetBSD"]:
+ config.unsupported = True