Don't use test inputs from other directories.
authorAlexander Kornienko <alexfh@google.com>
Mon, 3 Aug 2015 11:59:45 +0000 (11:59 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 3 Aug 2015 11:59:45 +0000 (11:59 +0000)
The test/DebugInfo/dwarfdump-macho-universal.test test added in r243862 uses
an input from another test's directory (test/tools/dsymutil/Inputs/fat-test.o)
which breaks our test setup.

Copying the required test input to the test's Input directory to fix the issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243872 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/Inputs/fat-test.o [new file with mode: 0644]
test/DebugInfo/dwarfdump-macho-universal.test

diff --git a/test/DebugInfo/Inputs/fat-test.o b/test/DebugInfo/Inputs/fat-test.o
new file mode 100644 (file)
index 0000000..8159cc7
Binary files /dev/null and b/test/DebugInfo/Inputs/fat-test.o differ
index f8dc1921e72e88430a6e566a180c8ef0f2b7eaca..0b4777317d7adb5c69fdc9d5d12cc6c7e5b411c5 100644 (file)
@@ -1,5 +1,5 @@
 Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise
-RUN: llvm-dwarfdump %S/../tools/dsymutil/Inputs/fat-test.o -debug-dump=info | FileCheck %s
+RUN: llvm-dwarfdump %S/Inputs/fat-test.o -debug-dump=info | FileCheck %s
 
 CHECK: fat-test.o (x86_64):    file format Mach-O 64-bit x86-64
 CHECK: DW_TAG_variable