[lld] r239868 - COFF: Fix tests.
Rui Ueyama
ruiu at google.com
Tue Jun 16 16:51:59 PDT 2015
Author: ruiu
Date: Tue Jun 16 18:51:58 2015
New Revision: 239868
URL: http://llvm.org/viewvc/llvm-project?rev=239868&view=rev
Log:
COFF: Fix tests.
I was accidentally testing not -flavor link2 but -flavor link.
Modified:
lld/trunk/test/COFF/options.test
Modified: lld/trunk/test/COFF/options.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/options.test?rev=239868&r1=239867&r2=239868&view=diff
==============================================================================
--- lld/trunk/test/COFF/options.test (original)
+++ lld/trunk/test/COFF/options.test Tue Jun 16 18:51:58 2015
@@ -1,51 +1,51 @@
# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
-# RUN: lld -flavor link /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=BIND %s
-# RUN: lld -flavor link /allowbind /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /allowbind /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=BIND %s
BIND-NOT: IMAGE_DLL_CHARACTERISTICS_NO_BIND
-# RUN: lld -flavor link /allowbind:no /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /allowbind:no /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NOBIND %s
NOBIND: IMAGE_DLL_CHARACTERISTICS_NO_BIND
-# RUN: lld -flavor link /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=ISO %s
-# RUN: lld -flavor link /allowisolation /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /allowisolation /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=ISO %s
ISO-NOT: IMAGE_DLL_CHARACTERISTICS_NO_ISOLATION
-# RUN: lld -flavor link /allowisolation:no /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /allowisolation:no /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NOISO %s
NOISO: IMAGE_DLL_CHARACTERISTICS_NO_ISOLATION
-# RUN: lld -flavor link /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=ENT %s
-# RUN: lld -flavor link /highentropyva /out:%t.exe %t.obj
+# RUN: lld -flavor link2 /highentropyva /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=ENT %s
ENT: IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA
-# RUN: lld -flavor link /highentropyva:no %t.obj
+# RUN: lld -flavor link2 /highentropyva:no /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NOENT %s
NOENT-NOT: IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA
-# RUN: lld -flavor link %t.obj
+# RUN: lld -flavor link2 %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NXCOMPAT %s
-# RUN: lld -flavor link /nxcompat %t.obj
+# RUN: lld -flavor link2 /nxcompat %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NXCOMPAT %s
NXCOMPAT: IMAGE_DLL_CHARACTERISTICS_NX_COMPAT
-# RUN: lld -flavor link /nxcompat:no %t.obj
+# RUN: lld -flavor link2 /nxcompat:no /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NONXCOMPAT %s
NONXCOMPAT-NOT: IMAGE_DLL_CHARACTERISTICS_NX_COMPAT
-# RUN: lld -flavor link %t.obj
+# RUN: lld -flavor link2 %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=TSAWARE %s
-# RUN: lld -flavor link /tsaware %t.obj
+# RUN: lld -flavor link2 /tsaware %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=TSAWARE %s
TSAWARE: IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE
-# RUN: lld -flavor link /tsaware:no %t.obj
+# RUN: lld -flavor link2 /tsaware:no /out:%t.exe %t.obj
# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=NOTSAWARE %s
NOTSAWARE-NOT: IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE
More information about the llvm-commits
mailing list