diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index d483645..575c127 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -10,7 +10,9 @@ import re config.name = 'LLVM' # testFormat: The test format to use to interpret tests. -config.test_format = lit.formats.TclTest() +execute_external = (sys.platform in ['win32'] + or lit.getBashPath() not in [None, ""]) +config.test_format = lit.formats.ShTest(execute_external) # To ignore test output on stderr so it doesn't trigger failures uncomment this: #config.test_format = lit.formats.TclTest(ignoreStdErr=True) |