Skip to content

Commit f39b4b5

Browse files
committed
[test] REQUIRE cpu arm64 when testing arm64 flags.
If llvm-targets-to-build doesn't include AArch64, then this test fails unhelpfully because architecture-specific flags are missing.
1 parent b074c7a commit f39b4b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Serialization/android-modules.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: CPU=arm64
12
// RUN: %empty-directory(%t)
23
// RUN: %swift_driver_plain --driver-mode=swiftc -target aarch64-unknown-linux-android -c %s -parse-stdlib -module-name Swift -emit-module -emit-module-path %t/Swift.swiftmodule
34
// RUN: %swift_driver_plain --driver-mode=swiftc -O -target aarch64-unknown-linux-android21 -c %s -I %t

0 commit comments

Comments
 (0)