From de56bb733f6934080ed8b1a7db3ce2ba1852e91e Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 5 Aug 2013 20:14:43 +0000 Subject: [PATCH] lit.cfg: better check for MSYS When running the tests under Cygwin using non-Cygwin python, the platform would be Windows and there would be bash on the path, so this check for MSYS would not work correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187737 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lit.cfg b/test/lit.cfg index a5bb350f08..f2f16fb63c 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -245,7 +245,7 @@ if execute_external: config.available_features.add('shell') # Exclude MSYS due to transforming '/' to 'X:/mingwroot/'. -if not platform.system() in ['Windows'] or lit.getBashPath() == '': +if not platform.system() in ['Windows'] or not execute_external: config.available_features.add('shell-preserves-root') # ANSI escape sequences in non-dumb terminal -- 2.40.0