forked from OSchip/llvm-project
[lldb] Fix output for unconditionally decorated tests
A missing call to `format` resulted in curly braces getting printed in the reason a test was modified by a decorator. For example it would print "{} unconditionally" instead of "skipping unconditionally" for tests that were marked as such.
This commit is contained in:
parent
557e32e002
commit
ce075dfa19
|
@ -248,7 +248,7 @@ def _decorateTest(mode,
|
|||
reason_str = "{} due to the following parameter(s): {}".format(
|
||||
mode_str, reason_str)
|
||||
else:
|
||||
reason_str = "{} unconditionally"
|
||||
reason_str = "{} unconditionally".format(mode_str)
|
||||
if bugnumber is not None and not six.callable(bugnumber):
|
||||
reason_str = reason_str + " [" + str(bugnumber) + "]"
|
||||
return reason_str
|
||||
|
|
Loading…
Reference in New Issue