- Notifications
You must be signed in to change notification settings - Fork 15.3k
Support target names containing dots in all utilities #65812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| | @@ -5,11 +5,14 @@ | |
| # RUN: mkdir %t | ||
| # RUN: ln -s llvm-ranlib %t/llvm-ranlib-9 | ||
| # RUN: ln -s llvm-ranlib %t/ranlib.exe | ||
| # RUN: ln -s llvm-ranlib %t/x86_64-unknown-freebsd13.2-llvm-ranlib | ||
| ||
| | ||
| # RUN: llvm-ranlib -h | FileCheck %s --check-prefix=DEFAULT | ||
| # RUN: %t/llvm-ranlib-9 -h | FileCheck %s --check-prefix=VERSION | ||
| # RUN: %t/ranlib.exe -h | FileCheck %s --check-prefix=SUFFIX | ||
| # RUN: %t/x86_64-unknown-freebsd13.2-llvm-ranlib -h | FileCheck %s --check-prefix=TRIPLE | ||
| | ||
| # DEFAULT: USAGE: llvm-ranlib{{ }} | ||
| # VERSION: USAGE: llvm-ranlib-9{{ }} | ||
| # SUFFIX: USAGE: ranlib{{ }} | ||
| # TRIPLE: USAGE: x86_64-unknown-freebsd13.2-llvm-ranlib{{ }} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. I'm happy with this file, but I also discovered a bunch of other
tool-nametests that can be updated. I'll add those too.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, added tool-name tests for the utilities for ELF and such. Not sure if I should add similar tests for Windows targets; they never have dots in their names.