[all-commits] [llvm/llvm-project] 4e5928: Fix `run_clang_repl` output when not present (#161...
Jeaye Wilkerson via All-commits
all-commits at lists.llvm.org
Tue Sep 30 11:41:23 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e5928689f2399dc6aede8dde2536a98a96a1802
https://github.com/llvm/llvm-project/commit/4e5928689f2399dc6aede8dde2536a98a96a1802
Author: Jeaye Wilkerson <contact at jeaye.com>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M clang/test/lit.cfg.py
Log Message:
-----------
Fix `run_clang_repl` output when not present (#161412)
On the happy path, when `clang-repl` is present, we will invoke it in
order to determine if the host supports JIT features. That will return a
string containing "true". However, in cases where `clang-repl` is not
present or we fail to invoke it, we previously returned `False`, which
would then trigger a failure with our substring check. This PR updates
the function to return `""` instead, so the substring check is still
valid.
This is related to https://github.com/llvm/llvm-project/pull/157359,
where the original change was introduced.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list