File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import XCTest
7
7
final class IntegrationTests : XCTestCase {
8
8
func testRunAll( ) throws {
9
9
#if os(Android)
10
- throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
10
+ throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
11
11
#endif
12
12
let testDir = URL ( fileURLWithPath: #filePath)
13
13
. deletingLastPathComponent ( ) . deletingLastPathComponent ( ) . deletingLastPathComponent ( )
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ enum TestSupport {
32
32
#else
33
33
if mkdtemp ( & template) == nil {
34
34
#if os(Android)
35
- throw Error ( errno: __errno ( ) . pointee)
35
+ throw Error ( errno: __errno ( ) . pointee)
36
36
#else
37
- throw Error ( errno: errno)
37
+ throw Error ( errno: errno)
38
38
#endif
39
39
}
40
40
#endif
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ enum TestSupport {
30
30
#else
31
31
if mkdtemp ( & template) == nil {
32
32
#if os(Android)
33
- throw Error ( errno: __errno ( ) . pointee)
33
+ throw Error ( errno: __errno ( ) . pointee)
34
34
#else
35
- throw Error ( errno: errno)
35
+ throw Error ( errno: errno)
36
36
#endif
37
37
}
38
38
#endif
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ struct TestSupport {
26
26
27
27
if mkdtemp ( & template) == nil {
28
28
#if os(Android)
29
- throw Error ( errno: __errno ( ) . pointee)
29
+ throw Error ( errno: __errno ( ) . pointee)
30
30
#else
31
- throw Error ( errno: errno)
31
+ throw Error ( errno: errno)
32
32
#endif
33
33
}
34
34
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ struct TestSupport {
57
57
#else
58
58
if mkdtemp ( & template) == nil {
59
59
#if os(Android)
60
- throw Error ( errno: __errno ( ) . pointee)
60
+ throw Error ( errno: __errno ( ) . pointee)
61
61
#else
62
- throw Error ( errno: errno)
62
+ throw Error ( errno: errno)
63
63
#endif
64
64
}
65
65
#endif
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class HostGeneratorTests: XCTestCase {
8
8
// but execute again here to collect coverage data.
9
9
func testGenerateFromFixtures( ) throws {
10
10
#if os(Android)
11
- throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
11
+ throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
12
12
#endif
13
13
let fixturesDir = RuntimeTestHarness . testsDirectory. appendingPathComponent ( " Fixtures " )
14
14
for fixture in try FileManager . default. contentsOfDirectory ( atPath: fixturesDir. path) {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import XCTest
5
5
final class FuzzTranslatorRegressionTests : XCTestCase {
6
6
func testRunAll( ) throws {
7
7
#if os(Android)
8
- throw XCTSkip ( " Test skipped due to absolute path #filePath unavailable on emulator " )
8
+ throw XCTSkip ( " Test skipped due to absolute path #filePath unavailable on emulator " )
9
9
#endif
10
10
let sourceRoot = URL ( fileURLWithPath: #filePath)
11
11
. deletingLastPathComponent ( ) . deletingLastPathComponent ( ) . deletingLastPathComponent ( )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ final class SpectestTests: XCTestCase {
20
20
/// Run all the tests in the spectest suite.
21
21
func testRunAll( ) async throws {
22
22
#if os(Android)
23
- throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
23
+ throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
24
24
#endif
25
25
let defaultConfig = EngineConfiguration ( )
26
26
let ok = try await spectest (
@@ -35,7 +35,7 @@ final class SpectestTests: XCTestCase {
35
35
36
36
func testRunAllWithTokenThreading( ) async throws {
37
37
#if os(Android)
38
- throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
38
+ throw XCTSkip ( " unable to run spectest on Android due to missing files on emulator " )
39
39
#endif
40
40
let defaultConfig = EngineConfiguration ( )
41
41
guard defaultConfig. threadingModel != . token else { return }
You can’t perform that action at this time.
0 commit comments