Index: mlir/test/lit.cfg.py =================================================================== --- mlir/test/lit.cfg.py +++ mlir/test/lit.cfg.py @@ -51,6 +51,7 @@ config.test_exec_root = os.path.join(config.mlir_obj_root, 'test') # Tweak the PATH to include the tools dir. +llvm_config.with_environment('PATH', config.mlir_tools_dir, append_path=True) llvm_config.with_environment('PATH', config.llvm_tools_dir, append_path=True) tool_dirs = [config.mlir_tools_dir, config.llvm_tools_dir]