Skip to content

Commit 1a47232

Browse files
committed
[lto][cmake] Fix the requires on the LTO library verification tests to be correct. =/.
rdar://24717107
1 parent 3de52f4 commit 1a47232

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

validation-test/LTO/host-libraries-do-have-bitcode.test-sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010
set -u
1111

1212
# REQUIRES: lto
13-
# REQUIRES: macosx
13+
# REQUIRES: OS=macosx
1414
# RUN: %s %swift_obj_root %t
1515

1616
function check_thin_archive_for_bitcode() {

validation-test/LTO/object-files-do-have-bitcode.test-sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ set -e
1010
set -u
1111

1212
# REQUIRES: lto
13+
# REQUIRES: OS=macosx
1314
# RUN: %s %swift_obj_root
1415

1516
if [[ -n "$(find $1/lib -iname '*.cpp.o' -type f -exec file {} \; | grep -v bit-code)" ]]; then

validation-test/LTO/target-libraries-do-not-have-bitcode.test-sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# are still mach-o files and come up as such.
88

99
# REQUIRES: lto
10+
# REQUIRES: OS=macosx
1011
# RUN: %s %swift_obj_root %t
1112

1213
set -u

0 commit comments

Comments
 (0)