diff options
author | David Spickett <david.spickett@linaro.org> | 2024-04-17 09:16:46 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2024-04-17 09:19:26 +0000 |
commit | a16bb0701409376dee3a587ae351a6019d6de4e0 (patch) | |
tree | 20804689809478d96089aaa588a4011c06b83a3f /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | d1a69e4a6ee0b04778da7728123c47eef2290564 (diff) | |
download | llvm-a16bb0701409376dee3a587ae351a6019d6de4e0.zip llvm-a16bb0701409376dee3a587ae351a6019d6de4e0.tar.gz llvm-a16bb0701409376dee3a587ae351a6019d6de4e0.tar.bz2 |
[lldb][test] Improve invalid compiler error message
I was debugging space separation issues when passing user arguments
and noticed this error is really hard to read in that scenario.
Put "" around the invalid compiler name so you can tell whether
you have spaces around it that's causing the problem.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 8c29145..2ec4a84 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -248,7 +248,7 @@ def parseOptionsAndInitTestdirs(): configuration.compiler = which(args.compiler) if not is_exe(configuration.compiler): logging.error( - "%s is not a valid compiler executable; aborting...", args.compiler + '"%s" is not a valid compiler executable; aborting...', args.compiler ) sys.exit(-1) else: |