diff options
Diffstat (limited to 'llvm/test/tools/llvm-lipo/create-executable.test')
-rw-r--r-- | llvm/test/tools/llvm-lipo/create-executable.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-lipo/create-executable.test b/llvm/test/tools/llvm-lipo/create-executable.test new file mode 100644 index 00000000000..19b3bfef3d4 --- /dev/null +++ b/llvm/test/tools/llvm-lipo/create-executable.test @@ -0,0 +1,13 @@ +# 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 + +# RUN: chmod -x %t-i386.o +# RUN: chmod -x %t-x86_64.o +# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o +# RUN: test ! -x %t-universal.o + +# RUN: chmod +x %t-i386.o +# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o +# RUN: test -x %t-universal.o |