Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit eb9b2ee

Browse files
Merge pull request #1330 from NikolayJuly/fix-android-tests
Attempt to fix tests build for android
2 parents 98d83a2 + 9c14b66 commit eb9b2ee

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and test
22
on: [push, pull_request]
33
env:
44
IOS_SIMULATOR: "iPhone 16"
5-
IOS_VERSION: "18.0"
5+
IOS_VERSION: "18.4"
66
jobs:
77
build:
88
runs-on: macos-15

‎Tests/SQLiteTests/Core/ConnectionTests.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class ConnectionTests: SQLiteTestCase {
374374
}
375375

376376
// https://github.com/stephencelis/SQLite.swift/issues/1071
377-
#if !os(Linux)
377+
#if !(os(Linux) || os(Android))
378378
func test_createFunction_withArrayArguments() throws {
379379
db.createFunction("hello") { 0ドル[0].map { "Hello, \(0ドル)!" } }
380380

‎Tests/SQLiteTests/Schema/SchemaDefinitionsTests.swift‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ColumnDefinitionTests: XCTestCase {
3232
defaultValue: .numericLiteral("123.123"), references: nil))
3333
]
3434

35-
#if !os(Linux)
35+
#if !(os(Linux) || os(Android))
3636
override class var defaultTestSuite: XCTestSuite {
3737
let suite = XCTestSuite(forTestCaseClass: ColumnDefinitionTests.self)
3838

@@ -183,7 +183,7 @@ class IndexDefinitionTests: XCTestCase {
183183
"CREATE INDEX IF NOT EXISTS \"index_tests\" ON \"tests\" (\"test_column\")")
184184
]
185185

186-
#if !os(Linux)
186+
#if !(os(Linux) || os(Android))
187187
override class var defaultTestSuite: XCTestSuite {
188188
let suite = XCTestSuite(forTestCaseClass: IndexDefinitionTests.self)
189189

‎Tests/SQLiteTests/Typed/CustomAggregationTests.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SQLite3
1414
#endif
1515

1616
// https://github.com/stephencelis/SQLite.swift/issues/1071
17-
#if !os(Linux)
17+
#if !(os(Linux) || os(Android))
1818

1919
class CustomAggregationTests: SQLiteTestCase {
2020
override func setUpWithError() throws {

‎Tests/SQLiteTests/Typed/CustomFunctionsTests.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import XCTest
22
import SQLite
33

44
// https://github.com/stephencelis/SQLite.swift/issues/1071
5-
#if !os(Linux)
5+
#if !(os(Linux) || os(Android))
66

77
class CustomFunctionNoArgsTests: SQLiteTestCase {
88
typealias FunctionNoOptional = () -> SQLite.Expression<String>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /