Shoaib Meenai | 16a9632 | 2019-07-18 22:48:38 +0000 | [diff] [blame] | 1 | # Executable testing is not supported on Windows, since all files are considered executable |
| 2 | # UNSUPPORTED: system-windows |
Fangrui Song | 55c81d4 | 2020-01-21 17:02:25 -0800 | [diff] [blame] | 3 | # 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 Meenai | 16a9632 | 2019-07-18 22:48:38 +0000 | [diff] [blame] | 5 | |
Bob Haarman | 6baac18 | 2019-07-26 18:44:06 +0000 | [diff] [blame] | 6 | # RUN: chmod a-x %t-i386.o |
| 7 | # RUN: chmod a-x %t-x86_64.o |
Shoaib Meenai | 16a9632 | 2019-07-18 22:48:38 +0000 | [diff] [blame] | 8 | # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o |
| 9 | # RUN: test ! -x %t-universal.o |
| 10 | |
Bob Haarman | 6baac18 | 2019-07-26 18:44:06 +0000 | [diff] [blame] | 11 | # RUN: chmod a+x %t-i386.o |
Shoaib Meenai | 16a9632 | 2019-07-18 22:48:38 +0000 | [diff] [blame] | 12 | # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal.o |
| 13 | # RUN: test -x %t-universal.o |