From 4f55ef701a07e619adea80fc1df1c34c74e8bbb8 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 8 Jul 2015 23:10:20 +0000 Subject: [PATCH] Fix error string in test suite git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@241757 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/libcxx/test/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libcxx/test/format.py b/test/libcxx/test/format.py index f78f38788..238dcdb29 100644 --- a/test/libcxx/test/format.py +++ b/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'