-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llvm-ar] Add some test-cases for empty archives
We had coverage of empty archive in our downstream testsuite. This adds those cases upstream. Differential Revision: https://reviews.llvm.org/D107471
- Loading branch information
1 parent
8392e8c
commit 9e4d2b1
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Test Display of empty archives. | ||
|
||
# RUN: rm -rf %t && mkdir -p %t | ||
|
||
## Display empty archive: | ||
# RUN: llvm-ar cr %t/empty.a | ||
# RUN: llvm-ar tv %t/empty.a 2>&1 | count 0 | ||
|
||
## Display empty thin archive: | ||
# RUN: llvm-ar Trc %t/thin-archive-empty.a | ||
# RUN: llvm-ar tv %t/thin-archive-empty.a 2>&1 | count 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters