Skip to content

Commit c558f01

Browse files
[ci] Partially migrate macOS-host Pigeon tests to LUCI (#3046)
* Enable all tests that are in bringup mode * See if debug affects unit tests * Disable integration test for testing * Disable iOS for faster debug cycles * Disable output stream * print logging * More adjusting to experiment * Re-enable integration * Re-disable integration, remove some prints * Remove another print * Remove remaining print * Re-add iOS tests * Run with only the macOS integration tests * Try the non-legacy iOS tests * Try adding the other iOS tests * try running everything, with process_runner * Revert accidental changes * Try enabling everything, split between LUCI and Cirrus * Fix coverage check * Move dependency * Add simulator to macOS-host custom tests * Re-disable Obj-C integration tests, which seem to hang too * Revert process_runner, which seems to hang Windows CI :( * Remove Dart code for running legacy unit tests * Remove legacy iOS test harness * Missed files
1 parent f47018e commit c558f01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+24
-1589
lines changed

.ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ targets:
211211
target_file: macos_platform_tests.yaml
212212

213213
- name: Mac_arm64 custom_package_tests master
214-
bringup: true # New configuration
215214
recipe: packages/packages
216215
timeout: 60
217216
properties:
@@ -221,7 +220,6 @@ targets:
221220
channel: master
222221

223222
- name: Mac_arm64 custom_package_tests stable
224-
bringup: true # New configuration
225223
recipe: packages/packages
226224
timeout: 60
227225
properties:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
- name: create simulator
5+
script: .ci/scripts/create_simulator.sh
46
- name: custom package tests
57
script: .ci/scripts/custom_package_tests.sh

packages/pigeon/platform_tests/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,3 @@ supported plugin languages. It covers:
2929
Dart unit tests for null-safe mode. This is a legacy structure from before
3030
NNBD was the only mode Pigeon supported; these should be folded back into
3131
the main tests.
32-
33-
## ios\_unit\_tests
34-
35-
This is a legacy harness that is only necessary for CI, and will be
36-
removed in the future. See
37-
[this PR](https://github.com/flutter/packages/pull/2816) for more
38-
details.

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/AllDatatypesTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
@import Flutter;
66
@import XCTest;
77

8-
#ifdef LEGACY_HARNESS
9-
#import "CoreTests.gen.h"
10-
#else
118
@import alternate_language_test_plugin;
12-
#endif
139

1410
#import "EchoMessenger.h"
1511

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/AsyncHandlersTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
@import Flutter;
66
@import XCTest;
77

8-
#ifdef LEGACY_HARNESS
9-
#import "AsyncHandlers.gen.h"
10-
#else
118
@import alternate_language_test_plugin;
12-
#endif
139

1410
#import "MockBinaryMessenger.h"
1511

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/EnumTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
@import Flutter;
66
@import XCTest;
77

8-
#ifdef LEGACY_HARNESS
9-
#import "Enum.gen.h"
10-
#else
118
@import alternate_language_test_plugin;
12-
#endif
139

1410
#import "EchoMessenger.h"
1511

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/ListTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
@import Flutter;
66
@import XCTest;
77

8-
#ifdef LEGACY_HARNESS
9-
#import "List.gen.h"
10-
#else
118
@import alternate_language_test_plugin;
12-
#endif
139

1410
#import "EchoMessenger.h"
1511

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/MultipleArityTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
@import Flutter;
66
@import XCTest;
77

8-
#ifdef LEGACY_HARNESS
9-
#import "MultipleArity.gen.h"
10-
#else
118
@import alternate_language_test_plugin;
12-
#endif
139

1410
#import "HandlerBinaryMessenger.h"
1511

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NonNullFieldsTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
@import Flutter;
77
@import XCTest;
88

9-
#ifdef LEGACY_HARNESS
10-
#import "NonNullFields.gen.h"
11-
#else
129
@import alternate_language_test_plugin;
13-
#endif
1410

1511
#import "EchoMessenger.h"
1612

packages/pigeon/platform_tests/alternate_language_test_plugin/example/ios/RunnerTests/NullFieldsTest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
@import Flutter;
66
@import XCTest;
77

8-
#ifdef LEGACY_HARNESS
9-
#import "NullFields.gen.h"
10-
#else
118
@import alternate_language_test_plugin;
12-
#endif
139

1410
#import "EchoMessenger.h"
1511

0 commit comments

Comments
 (0)