[libcxx] r241757 - Fix error string in test suite
Eric Fiselier
eric at efcs.ca
Wed Jul 8 16:10:21 PDT 2015
Author: ericwf
Date: Wed Jul 8 18:10:20 2015
New Revision: 241757
URL: http://llvm.org/viewvc/llvm-project?rev=241757&view=rev
Log:
Fix error string in test suite
Modified:
libcxx/trunk/test/libcxx/test/format.py
Modified: libcxx/trunk/test/libcxx/test/format.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/format.py?rev=241757&r1=241756&r2=241757&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/format.py (original)
+++ libcxx/trunk/test/libcxx/test/format.py Wed Jul 8 18:10:20 2015
@@ -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'
More information about the cfe-commits
mailing list