Skip codesigning during native macOS integration tests (#92938)
This commit is contained in:
@@ -36,7 +36,11 @@ Future<void> main() async {
|
||||
section('Run platform unit tests');
|
||||
|
||||
final Device device = await devices.workingDevice;
|
||||
if (!await runXcodeTests(path.join(projectDirectory, 'ios'), 'id=${device.deviceId}', 'native_ui_tests_ios')) {
|
||||
if (!await runXcodeTests(
|
||||
platformDirectory: path.join(projectDirectory, 'ios'),
|
||||
destination: 'id=${device.deviceId}',
|
||||
testName: 'native_ui_tests_ios',
|
||||
)) {
|
||||
return TaskResult.failure('Platform unit tests failed');
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,12 @@ Future<void> main() async {
|
||||
|
||||
section('Run platform unit tests');
|
||||
|
||||
if (!await runXcodeTests(path.join(projectDirectory, 'macos'), 'platform=macOS', 'native_ui_tests_macos')) {
|
||||
if (!await runXcodeTests(
|
||||
platformDirectory: path.join(projectDirectory, 'macos'),
|
||||
destination: 'platform=macOS',
|
||||
testName: 'native_ui_tests_macos',
|
||||
skipCodesign: true,
|
||||
)) {
|
||||
return TaskResult.failure('Platform unit tests failed');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user