summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/strip-debug.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/strip-debug.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/strip-debug.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/strip-debug.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/strip-debug.test b/llvm/test/tools/llvm-objcopy/ELF/strip-debug.test
index 6c833f301c7..b88744e5f42 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/strip-debug.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/strip-debug.test
@@ -1,12 +1,12 @@
# RUN: yaml2obj %s > %t
# RUN: cp %t %t3
-# RUN: llvm-objcopy -strip-debug %t %t2
-# RUN: llvm-readobj -file-headers -sections -symbols %t2 | FileCheck %s
+# RUN: llvm-objcopy --strip-debug %t %t2
+# RUN: llvm-readobj --file-headers --sections --symbols %t2 | FileCheck %s
# Verify that the previous run of llvm-objcopy has not modified the input.
# RUN: cmp %t %t3
-# RUN: llvm-strip -strip-debug %t3
+# RUN: llvm-strip --strip-debug %t3
# RUN: cmp %t2 %t3
# RUN: cp %t %t4
OpenPOWER on IntegriCloud