summaryrefslogtreecommitdiff
path: root/test/COFF/machine.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/machine.test')
-rw-r--r--test/COFF/machine.test30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/COFF/machine.test b/test/COFF/machine.test
deleted file mode 100644
index 847018f20fbd1..0000000000000
--- a/test/COFF/machine.test
+++ /dev/null
@@ -1,30 +0,0 @@
-# RUN: yaml2obj %p/Inputs/machine-x64.yaml > %t.obj
-# RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t.obj
-# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=AMD64 %s
-# RUN: lld-link /entry:main /subsystem:console /machine:x64 \
-# RUN: /out:%t.exe %t.obj
-# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=AMD64 %s
-
-AMD64: Machine: IMAGE_FILE_MACHINE_AMD64
-
-# RUN: yaml2obj %p/Inputs/machine-x86.yaml > %t.obj
-# RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t.obj
-# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=I386 %s
-# RUN: lld-link /entry:main /subsystem:console /machine:x86 \
-# RUN: /out:%t.exe %t.obj /fixed
-# RUN: llvm-readobj -file-headers %t.exe | FileCheck -check-prefix=I386 %s
-
-I386: Machine: IMAGE_FILE_MACHINE_I386
-
-# RUN: yaml2obj %p/Inputs/machine-x64.yaml > %t.obj
-# RUN: not lld-link /entry:main /subsystem:console /machine:x86 \
-# RUN: /out:%t.exe %t.obj /fixed >& %t.log
-# RUN: FileCheck -check-prefix=INCOMPAT %s < %t.log
-
-# RUN: yaml2obj %p/Inputs/machine-x86.yaml > %t1.obj
-# RUN: sed -e s/main/foo/ %p/Inputs/machine-x64.yaml | yaml2obj > %t2.obj
-# RUN: not lld-link /entry:main /subsystem:console /out:%t.exe \
-# RUN: %t1.obj %t2.obj >& %t.log
-# RUN: FileCheck -check-prefix=INCOMPAT %s < %t.log
-
-INCOMPAT: .obj: machine type x64 conflicts with x86