Fix error string in test suite
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@241757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ce05a9f86
commit
4f55ef701a
@ -158,6 +158,6 @@ class LibcxxTestFormat(object):
|
||||
return lit.Test.PASS, ''
|
||||
else:
|
||||
report = libcxx.util.makeReport(cmd, out, err, rc)
|
||||
report_msg = ('Expected compilation to fail!' if use_verify else
|
||||
report_msg = ('Expected compilation to fail!' if not use_verify else
|
||||
'Expected compilation using verify to pass!')
|
||||
return lit.Test.FAIL, report + report_msg + '\n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user