Fix error string in test suite

llvm-svn: 241757
This commit is contained in:
Eric Fiselier 2015-07-08 23:10:20 +00:00
parent 424edc6c80
commit be4e0eb1c2
1 changed files with 1 additions and 1 deletions

View File

@ -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'