Skip to content

Commit a16bb07

Browse files
committed
[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.
1 parent d1a69e4 commit a16bb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/dotest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def parseOptionsAndInitTestdirs():
248248
configuration.compiler = which(args.compiler)
249249
if not is_exe(configuration.compiler):
250250
logging.error(
251-
"%s is not a valid compiler executable; aborting...", args.compiler
251+
'"%s" is not a valid compiler executable; aborting...', args.compiler
252252
)
253253
sys.exit(-1)
254254
else:

0 commit comments

Comments
 (0)