diff options
Diffstat (limited to 'test/ubsan/TestCases/Misc/Linux/lit.local.cfg')
-rw-r--r-- | test/ubsan/TestCases/Misc/Linux/lit.local.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ubsan/TestCases/Misc/Linux/lit.local.cfg b/test/ubsan/TestCases/Misc/Linux/lit.local.cfg new file mode 100644 index 000000000000..57271b8078a4 --- /dev/null +++ b/test/ubsan/TestCases/Misc/Linux/lit.local.cfg @@ -0,0 +1,9 @@ +def getRoot(config): + if not config.parent: + return config + return getRoot(config.parent) + +root = getRoot(config) + +if root.host_os not in ['Linux']: + config.unsupported = True |