diff options
| author | Jordan Rupprecht <rupprecht@google.com> | 2019-01-15 21:52:31 +0000 |
|---|---|---|
| committer | Jordan Rupprecht <rupprecht@google.com> | 2019-01-15 21:52:31 +0000 |
| commit | 904ce9847d2bf5b73a17a1c067a06f055635fe8b (patch) | |
| tree | 3b0343a4cce7a156c933f6956f7384341f8a3a28 /llvm/test/tools/llvm-ar | |
| parent | efe83db79975e03e3f0cfcc73cf66383ac36eaab (diff) | |
| download | bcm5719-llvm-904ce9847d2bf5b73a17a1c067a06f055635fe8b.tar.gz bcm5719-llvm-904ce9847d2bf5b73a17a1c067a06f055635fe8b.zip | |
[llvm-ar] Resubmit recursive thin archive test with fix for full path names and better error messages
llvm-svn: 351256
Diffstat (limited to 'llvm/test/tools/llvm-ar')
| -rw-r--r-- | llvm/test/tools/llvm-ar/flatten-thin-archive-recursive.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-ar/flatten-thin-archive-recursive.test b/llvm/test/tools/llvm-ar/flatten-thin-archive-recursive.test new file mode 100644 index 00000000000..fdd752d48b2 --- /dev/null +++ b/llvm/test/tools/llvm-ar/flatten-thin-archive-recursive.test @@ -0,0 +1,13 @@ +# Since llvm-ar cannot create thin archives that contain any thin archives, +# nested-thin-archive.a is a manually constructed thin archive that contains +# another (unflattened) thin archive. +# This test ensures that flat archives are recursively flattened. + +RUN: rm -f %t.a +RUN: llvm-ar rcsT %t.a %S/Inputs/nested-thin-archive.a %S/Inputs/d.txt +RUN: llvm-ar t %t.a | FileCheck %s + +CHECK: a.txt +CHECK-NEXT: b.txt +CHECK-NEXT: c.txt +CHECK-NEXT: d.txt |

