blob: db785a5e4de2ab95881b3397b5ca0750041cb471 [file] [log] [blame]
Shoaib Meenai16a96322019-07-18 22:48:38 +00001# Executable testing is not supported on Windows, since all files are considered executable
2# UNSUPPORTED: system-windows
Fangrui Song55c81d42020-01-21 17:02:25 -08003# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o
4# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml -o %t-x86_64.o
Shoaib Meenai16a96322019-07-18 22:48:38 +00005
Bob Haarman6baac182019-07-26 18:44:06 +00006# RUN: chmod a-x %t-i386.o
7# RUN: chmod a-x %t-x86_64.o
Shoaib Meenai16a96322019-07-18 22:48:38 +00008# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
9# RUN: test ! -x %t-universal.o
10
Bob Haarman6baac182019-07-26 18:44:06 +000011# RUN: chmod a+x %t-i386.o
Shoaib Meenai16a96322019-07-18 22:48:38 +000012# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
13# RUN: test -x %t-universal.o