mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[llvm-objcopy] Consolidate and unify version tests
In this diff the tests which verify version printing functionality are refactored. Since they are not specific to a particular format we move them into tool-version.test and slightly unify (similarly to tool-name.test and tool-help-message.test). Test plan: make check-all Differential revision: https://reviews.llvm.org/D87211
This commit is contained in:
parent
afd0a35752
commit
60f196bf71
@ -1,4 +0,0 @@
|
||||
# RUN: llvm-objcopy --version | FileCheck %s
|
||||
# RUN: llvm-objcopy -V | FileCheck %s
|
||||
|
||||
# CHECK: {{ version }}
|
@ -1,5 +0,0 @@
|
||||
# RUN: llvm-strip --version | FileCheck %s
|
||||
# RUN: llvm-strip -V | FileCheck %s
|
||||
|
||||
# CHECK-DAG: {{ version }}
|
||||
# CHECK-DAG: GNU strip
|
@ -1,2 +0,0 @@
|
||||
# RUN: llvm-install-name-tool --version | FileCheck %s
|
||||
# CHECK: {{ version }}
|
15
test/tools/llvm-objcopy/tool-version.test
Normal file
15
test/tools/llvm-objcopy/tool-version.test
Normal file
@ -0,0 +1,15 @@
|
||||
# RUN: llvm-objcopy --version | FileCheck --check-prefix=OBJCOPY %s
|
||||
# RUN: llvm-objcopy -V | FileCheck --check-prefix=OBJCOPY %s
|
||||
|
||||
# RUN: llvm-strip --version | FileCheck --check-prefix=STRIP %s
|
||||
# RUN: llvm-strip -V | FileCheck --check-prefix=STRIP %s
|
||||
|
||||
# RUN: llvm-install-name-tool --version | FileCheck %s
|
||||
|
||||
# OBJCOPY-DAG: {{ version }}
|
||||
# OBJCOPY-DAG: GNU objcopy
|
||||
|
||||
# STRIP-DAG: {{ version }}
|
||||
# STRIP-DAG: GNU strip
|
||||
|
||||
# CHECK: {{ version }}
|
Loading…
Reference in New Issue
Block a user