summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-07-08 23:10:20 +0000
committerEric Fiselier <eric@efcs.ca>2015-07-08 23:10:20 +0000
commitbe4e0eb1c2a73892b2cc6c1fc4f6311027299fd6 (patch)
tree8112fc5ea871518314605c4e571621fe3e92374e /libcxx/test
parent424edc6c806ca76c470135489f518ff3bbf466c3 (diff)
downloadbcm5719-llvm-be4e0eb1c2a73892b2cc6c1fc4f6311027299fd6.tar.gz
bcm5719-llvm-be4e0eb1c2a73892b2cc6c1fc4f6311027299fd6.zip
Fix error string in test suite
llvm-svn: 241757
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/libcxx/test/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/libcxx/test/format.py b/libcxx/test/libcxx/test/format.py
index f78f387881f..238dcdb29af 100644
--- a/libcxx/test/libcxx/test/format.py
+++ b/libcxx/test/libcxx/test/format.py
@@ -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'
OpenPOWER on IntegriCloud