Skip to content

Commit 7e34031

Browse files
authored
Merge pull request #2939 from modocache/1714-easy-fixes-for-android-tests
2 parents 0112422 + fd3ecb1 commit 7e34031

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

test/1_stdlib/POSIX.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
33

4+
// Android Bionic does not provide a working implementation of
5+
// <semaphore.h>.
6+
// XFAIL: OS=linux-androideabi
7+
48
import StdlibUnittest
59
#if os(Linux)
610
import Glibc

test/1_stdlib/tgmath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
33

4-
#if os(Linux) || os(FreeBSD)
4+
#if os(Linux) || os(FreeBSD) || os(Android)
55
import Glibc
66
// FIXME: this is a quick hack for non Darwin platforms
77
// where they doesn't have CoreGraphics module.

test/ClangModules/autolinking.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// UNSUPPORTED: OS=linux-gnu
1717
// UNSUPPORTED: OS=linux-gnueabihf
1818
// UNSUPPORTED: OS=freebsd
19+
// UNSUPPORTED: OS=linux-androideabi
1920

2021
import LinkMusket
2122
import LinkFramework

test/Serialization/autolinking.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
// UNSUPPORTED: OS=linux-gnu
2626
// UNSUPPORTED: OS=linux-gnueabihf
2727
// UNSUPPORTED: OS=freebsd
28+
// UNSUPPORTED: OS=linux-androideabi
2829

2930
import someModule
3031

validation-test/SIL/verify_all_overlays.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: for x in %platform-sdk-overlay-dir/*.swiftmodule; do [[ $(basename "$x") = Swift.swiftmodule ]] && continue; llvm-bcanalyzer $x | FileCheck %s; %target-sil-opt -enable-sil-verify-all $x > /dev/null; done
1+
// RUN: for x in %platform-sdk-overlay-dir/*.swiftmodule; do [[ $(basename "$x") = Swift.swiftmodule ]] && continue; llvm-bcanalyzer $x | FileCheck %s; %target-sil-opt -sdk %sdk -enable-sil-verify-all $x > /dev/null; done
22

33
// CHECK-NOT: Unknown
44

0 commit comments

Comments
 (0)