summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/group.test
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-01-11 18:06:31 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-01-11 18:06:31 +0000
commit298ea3f5771d808929c9984ed73d196018f7a359 (patch)
tree86a7643b952e8c5a9c56cfc47946d3a34aca8dfe /llvm/test/tools/llvm-objcopy/ELF/group.test
parent863f8c18b9272021d9fa37b3f5ff83debb0002a3 (diff)
downloadbcm5719-llvm-298ea3f5771d808929c9984ed73d196018f7a359.tar.gz
bcm5719-llvm-298ea3f5771d808929c9984ed73d196018f7a359.zip
[llvm-objcopy][NFC] Consistenly use two dashes for flags in tests.
Summary: As pointed out in D53667, our use of hyphens in flags can be inconsistent, mixing `-` with `--`. This change makes all long style flags use `--`. Automatically changed via: ``` find test/tools/llvm-objcopy/ELF -type f | xargs sed -i 's/ -\([a-zA-Z]\{3\}\)/ --\1/g' ``` Two false positives were manually fixed/reverted. Reviewers: jhenderson, espindola, alexshap Reviewed By: jhenderson Subscribers: emaste, javed.absar, arichardson, fedor.sergeev, jakehehrlich, llvm-commits Differential Revision: https://reviews.llvm.org/D56513 llvm-svn: 350944
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/group.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/group.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/group.test b/llvm/test/tools/llvm-objcopy/ELF/group.test
index 4023f1228f0..2e058f5d6a5 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/group.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/group.test
@@ -1,6 +1,6 @@
# RUN: yaml2obj %s > %t
-# RUN: llvm-objcopy -remove-section=.text.bar %t %t2
-# RUN: llvm-readobj -elf-section-groups %t2 | FileCheck %s
+# RUN: llvm-objcopy --remove-section=.text.bar %t %t2
+# RUN: llvm-readobj --elf-section-groups %t2 | FileCheck %s
# In this test the section .text.bar is getting removed, as a result,
# the indices of the sections which go after .text.bar will change,
OpenPOWER on IntegriCloud