summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-mt
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-06-23 16:49:07 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-06-23 16:49:07 +0000
commitfb540741124f16f7886d798c92b64e89043cb53f (patch)
tree80c330eb4f9cc9b34580ccbc0f91163fa6e2db3e /llvm/test/tools/llvm-mt
parentc02bf01f64a977a7e39d379afe449ab769893aa8 (diff)
downloadbcm5719-llvm-fb540741124f16f7886d798c92b64e89043cb53f.tar.gz
bcm5719-llvm-fb540741124f16f7886d798c92b64e89043cb53f.zip
[llvm-mt] Use WithColor for printing errors.
Use the WithColor helper from support to print errors. llvm-svn: 335416
Diffstat (limited to 'llvm/test/tools/llvm-mt')
-rw-r--r--llvm/test/tools/llvm-mt/conflicting.test2
-rw-r--r--llvm/test/tools/llvm-mt/help.test4
-rw-r--r--llvm/test/tools/llvm-mt/xml_error.test4
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/tools/llvm-mt/conflicting.test b/llvm/test/tools/llvm-mt/conflicting.test
index 9d69fec78e3..adcfd598f80 100644
--- a/llvm/test/tools/llvm-mt/conflicting.test
+++ b/llvm/test/tools/llvm-mt/conflicting.test
@@ -4,4 +4,4 @@ UNSUPPORTED: system-windows
RUN: not llvm-mt /manifest %p/Inputs/test_manifest.manifest /manifest \
RUN: %p/Inputs/conflicting.manifest /out:%t 2>&1 >/dev/null | FileCheck %s
-CHECK: llvm-mt error: conflicting attributes for requestedExecutionLevel
+CHECK: llvm-mt: error: conflicting attributes for requestedExecutionLevel
diff --git a/llvm/test/tools/llvm-mt/help.test b/llvm/test/tools/llvm-mt/help.test
index e13066d2a0f..291e13cd4a2 100644
--- a/llvm/test/tools/llvm-mt/help.test
+++ b/llvm/test/tools/llvm-mt/help.test
@@ -3,8 +3,8 @@ RUN: llvm-mt /h | FileCheck %s -check-prefix=HELP
HELP: OVERVIEW: Manifest Tool
RUN: not llvm-mt /foo 2>&1 >/dev/null | FileCheck %s -check-prefix=INVALID
-INVALID: llvm-mt error: invalid option '/foo'
+INVALID: llvm-mt: error: invalid option '/foo'
RUN: not llvm-mt /oyt:%t 2>&1 | FileCheck %s -check-prefix=INVALID-BUT-CLOSE
-INVALID-BUT-CLOSE: llvm-mt error: invalid option '/oyt:{{.*}}help.test.tmp', did you mean '/out:{{.*}}help.test.tmp'?
+INVALID-BUT-CLOSE: llvm-mt: error: invalid option '/oyt:{{.*}}help.test.tmp', did you mean '/out:{{.*}}help.test.tmp'?
diff --git a/llvm/test/tools/llvm-mt/xml_error.test b/llvm/test/tools/llvm-mt/xml_error.test
index a2b043023de..4d0a8ece43b 100644
--- a/llvm/test/tools/llvm-mt/xml_error.test
+++ b/llvm/test/tools/llvm-mt/xml_error.test
@@ -4,12 +4,12 @@ UNSUPPORTED: system-windows
RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck \
RUN: %s
-CHECK: llvm-mt error: invalid xml document
+CHECK: llvm-mt: error: invalid xml document
RUN: not llvm-mt /manifest %p/Inputs/empty.manifest 2>&1 >/dev/null | \
RUN: FileCheck %s -check-prefix=EMPTY
-EMPTY: llvm-mt error: attempted to merge empty manifest
+EMPTY: llvm-mt: error: attempted to merge empty manifest
RUN: llvm-mt /inputresource:foo.res \
RUN: /manifest %p/Inputs/test_manifest.manifest \
OpenPOWER on IntegriCloud