diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2019-03-27 20:15:08 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2019-03-27 20:15:08 +0000 |
| commit | 67646d0570b4e25215416cb5cf73756733e130e0 (patch) | |
| tree | 6dae8973973e9d704674867729781cf0e15ae20b /llvm/test/tools/llvm-rc/codepage.test | |
| parent | e9e01cc73a8d87b567afe3d217fefe92a1a347db (diff) | |
| download | bcm5719-llvm-67646d0570b4e25215416cb5cf73756733e130e0.tar.gz bcm5719-llvm-67646d0570b4e25215416cb5cf73756733e130e0.zip | |
Fix llvm-rc tests.
Summary:
Follow-up for D56743.
* Add more "--" in llvm-rc invocations.
* Add llvm-rc to the tools list. This uses full path to llvm-rc in test
RUN lines (llvm-lit -v), making them copy-pasteable.
Reviewers: mstorsjo, zturner
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59858
llvm-svn: 357118
Diffstat (limited to 'llvm/test/tools/llvm-rc/codepage.test')
| -rw-r--r-- | llvm/test/tools/llvm-rc/codepage.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-rc/codepage.test b/llvm/test/tools/llvm-rc/codepage.test index 05e3181b582..0176142d4bb 100644 --- a/llvm/test/tools/llvm-rc/codepage.test +++ b/llvm/test/tools/llvm-rc/codepage.test @@ -18,11 +18,11 @@ ; UTF8-NEXT: 0040: 00000000 |....| ; UTF8-NEXT: ) -; RUN: not llvm-rc /C 65001 /FO %t.utf8-escape-narrow.res %p/Inputs/utf8-escape-narrow.rc 2>&1 | FileCheck %s --check-prefix UTF8_ESCAPE +; RUN: not llvm-rc /C 65001 /FO %t.utf8-escape-narrow.res -- %p/Inputs/utf8-escape-narrow.rc 2>&1 | FileCheck %s --check-prefix UTF8_ESCAPE ; UTF8_ESCAPE: llvm-rc: Error in STRINGTABLE statement (ID 1): ; UTF8_ESCAPE-NEXT: Unable to interpret single byte (195) as UTF-8 -; RUN: llvm-rc /C 1252 /FO %t.cp1252.res %p/Inputs/cp1252.rc +; RUN: llvm-rc /C 1252 /FO %t.cp1252.res -- %p/Inputs/cp1252.rc ; RUN: llvm-readobj %t.cp1252.res | FileCheck %s --check-prefix=CP1252 ; CP1252: Resource type (int): 6 |

