[PATCH] D82012: [llvm-objcopy] Merging tool-help-text tests
Sameer Arora via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 12:54:08 PDT 2020
sameerarora101 updated this revision to Diff 272799.
sameerarora101 added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82012/new/
https://reviews.llvm.org/D82012
Files:
llvm/test/tools/llvm-objcopy/ELF/help-message.test
llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test
llvm/test/tools/llvm-objcopy/tool-help-message.test
Index: llvm/test/tools/llvm-objcopy/tool-help-message.test
===================================================================
--- llvm/test/tools/llvm-objcopy/tool-help-message.test
+++ llvm/test/tools/llvm-objcopy/tool-help-message.test
@@ -12,11 +12,21 @@
# RUN: not llvm-strip --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
# RUN: not llvm-strip --strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
+# RUN: llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
+# RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
+# RUN: not llvm-install-name-tool 2>&1 | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
+# RUN: not llvm-install-name-tool -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
+# RUN: not llvm-install-name-tool --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
+# RUN: not llvm-install-name-tool -add_rpath @executable 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
+
# OBJCOPY-USAGE: USAGE: llvm-objcopy [options] input [output]
# OBJCOPY-USAGE: Pass @FILE as argument to read options from FILE.
# STRIP-USAGE: USAGE: llvm-strip [options] inputs...
# STRIP-USAGE: Pass @FILE as argument to read options from FILE.
+# INSTALL-NAME-TOOL-USAGE: USAGE: llvm-install-name-tool [options] input
+# INSTALL-NAME-TOOL-USAGE: Pass @FILE as argument to read options from FILE.
+
# UNKNOWN-ARG: unknown argument '{{-+}}abcabc'
# NO-INPUT-FILES: no input file specified
Index: llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test
===================================================================
--- llvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test
+++ /dev/null
@@ -1,10 +0,0 @@
-# RUN: llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
-# RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
-# RUN: not llvm-install-name-tool 2>&1 | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
-# RUN: not llvm-install-name-tool -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
-# RUN: not llvm-install-name-tool --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
-
-# INSTALL-NAME-TOOL-USAGE: USAGE: llvm-install-name-tool [options] input
-# INSTALL-NAME-TOOL-USAGE: Pass @FILE as argument to read options from FILE.
-
-# UNKNOWN-ARG: unknown argument '{{-+}}abcabc'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82012.272799.patch
Type: text/x-patch
Size: 2528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200623/cec171af/attachment.bin>
More information about the llvm-commits
mailing list