aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/msan/Linux/lit.local.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/msan/Linux/lit.local.cfg.py')
-rw-r--r--compiler-rt/test/msan/Linux/lit.local.cfg.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/compiler-rt/test/msan/Linux/lit.local.cfg.py b/compiler-rt/test/msan/Linux/lit.local.cfg.py
index 57271b8..603ca03 100644
--- a/compiler-rt/test/msan/Linux/lit.local.cfg.py
+++ b/compiler-rt/test/msan/Linux/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 ['Linux']:
- config.unsupported = True
+if root.host_os not in ["Linux"]:
+ config.unsupported = True