From d2de4b855c0f56c9700e2841abdb99cc98daa7bb Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Wed, 21 Aug 2024 10:22:52 +0200 Subject: [PATCH] [MLIR] Fix inverted logic of LIT_USE_INTERNAL_SHELL --- mlir/test/lit.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/test/lit.cfg.py b/mlir/test/lit.cfg.py index 98d0ddd9a2be1..81a668e73d4b2 100644 --- a/mlir/test/lit.cfg.py +++ b/mlir/test/lit.cfg.py @@ -23,7 +23,7 @@ use_lit_shell = True lit_shell_env = os.environ.get("LIT_USE_INTERNAL_SHELL") if lit_shell_env: - use_lit_shell = not lit.util.pythonize_bool(lit_shell_env) + use_lit_shell = lit.util.pythonize_bool(lit_shell_env) config.test_format = lit.formats.ShTest(execute_external=not use_lit_shell)