blob: 43e29a71e846dd992d8bba077157e4db55c7d75d [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
3# RUN: yaml2obj %p/Inputs/i386-slice.yaml > %t-i386.o
4# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml > %t-x86_64.o
5
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