2019-07-19 06:48:38 +08:00
|
|
|
# Executable testing is not supported on Windows, since all files are considered executable
|
|
|
|
# UNSUPPORTED: system-windows
|
|
|
|
# RUN: yaml2obj %p/Inputs/i386-slice.yaml > %t-i386.o
|
|
|
|
# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml > %t-x86_64.o
|
|
|
|
|
2019-07-27 02:44:06 +08:00
|
|
|
# RUN: chmod a-x %t-i386.o
|
|
|
|
# RUN: chmod a-x %t-x86_64.o
|
2019-07-19 06:48:38 +08:00
|
|
|
# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
|
|
|
|
# RUN: test ! -x %t-universal.o
|
|
|
|
|
2019-07-27 02:44:06 +08:00
|
|
|
# RUN: chmod a+x %t-i386.o
|
2019-07-19 06:48:38 +08:00
|
|
|
# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o
|
|
|
|
# RUN: test -x %t-universal.o
|