[llvm] r243872 - Don't use test inputs from other directories.

Alexander Kornienko alexfh at google.com
Mon Aug 3 04:59:45 PDT 2015


Author: alexfh
Date: Mon Aug  3 06:59:45 2015
New Revision: 243872

URL: http://llvm.org/viewvc/llvm-project?rev=243872&view=rev
Log:
Don't use test inputs from other directories.

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.

Added:
    llvm/trunk/test/DebugInfo/Inputs/fat-test.o
      - copied unchanged from r243868, llvm/trunk/test/tools/dsymutil/Inputs/fat-test.o
Modified:
    llvm/trunk/test/DebugInfo/dwarfdump-macho-universal.test

Modified: llvm/trunk/test/DebugInfo/dwarfdump-macho-universal.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/dwarfdump-macho-universal.test?rev=243872&r1=243871&r2=243872&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/dwarfdump-macho-universal.test (original)
+++ llvm/trunk/test/DebugInfo/dwarfdump-macho-universal.test Mon Aug  3 06:59:45 2015
@@ -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





More information about the llvm-commits mailing list