[mach-o]: remove dylib install-name test with a.out
authorTim Northover <tnorthover@apple.com>
Thu, 3 Jul 2014 12:50:23 +0000 (12:50 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 3 Jul 2014 12:50:23 +0000 (12:50 +0000)
Unfortunately, the creation of (the default) output file, a.out races with all
the other tests in this directory. When the wrong one is read by macho-dump,
the test fails.

llvm-svn: 212269

lld/test/mach-o/dylib-install-names.yaml

index 05f268f..2ee361e 100644 (file)
 # RUN: macho-dump libwibble.dylib | FileCheck %s --check-prefix=CHECK-BINARY-WRITE
 # RUN: rm -f libwibble.dylib
 
-# Check the default output file is a.out, and this also goes into LC_ID_DYLIB.
-# RUN: lld -flavor darwin -arch x86_64 -dylib %s
-# RUN: macho-dump a.out | FileCheck %s --check-prefix=CHECK-BINARY-WRITE-AOUT
-# RUN: rm -f a.out
-
 --- !mach-o
 arch:            x86_64
 file-type:       MH_OBJECT
@@ -49,10 +44,6 @@ global-symbols:
 # CHECK-BINARY-WRITE-NEXT:  ('size', 40)
 # CHECK-BINARY-WRITE-NEXT:  ('install_name', 'libwibble.dylib')
 
-# CHECK-BINARY-WRITE-AOUT: (('command', 13)
-# CHECK-BINARY-WRITE-AOUT-NEXT:  ('size', 32)
-# CHECK-BINARY-WRITE-AOUT-NEXT:  ('install_name', 'a.out')
-
 # CHECK-BINARY-READ: shared-library-atoms:
 # CHECK-BINARY-READ:     - name:          _myGlobal
 # CHECK-BINARY-READ:       load-name:     libwibble.dylib