OSDN Git Service

[llvm-ar][test] Relax lit directory assumptions in thin-archive.test
authorJordan Rupprecht <rupprecht@google.com>
Wed, 12 Jun 2019 18:41:27 +0000 (18:41 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Wed, 12 Jun 2019 18:41:27 +0000 (18:41 +0000)
commitc8610265811e382dc5573d5206c5b92e556c0b96
treed10b418b1a3dfed2646b912dcf567fe68980bc6e
parent57160edc26e80f97a99ec90bc80de81a820a1ea2
[llvm-ar][test] Relax lit directory assumptions in thin-archive.test

Summary: thin-archive.test assumes the Output/<testname> structure that lit creates. Rewrite the test in a way that still tests the same thing (creating via relative path and adding via absolute path) but doesn't assume this specific lit structure, making it possible to run in a lit emulator.

Reviewers: gbreynoo

Reviewed By: gbreynoo

Subscribers: llvm-commits, bkramer

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62930

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363189 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-ar/thin-archive.test