Skip to content

Commit a98185a

Browse files
committed
use -emit-sil in mock SDK tests for better coverage
1 parent fb31e5a commit a98185a

3 files changed

+3
-3
lines changed

test/Concurrency/Runtime/custom_executors_sdk_with_consuming_param_but_impl_owned.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-concurrency-consuming-job-param) -typecheck -parse-as-library %s -verify
1+
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-concurrency-consuming-job-param) -emit-sil -parse-as-library %s -verify
22

33
// REQUIRES: concurrency
44
// REQUIRES: libdispatch

test/Concurrency/Runtime/custom_executors_sdk_with_owned_param_but_impl_consuming.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-concurrency-owned-job-param) -typecheck -parse-as-library %s -verify
1+
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-concurrency-owned-job-param) -emit-sil -parse-as-library %s -verify
22

33
// REQUIRES: concurrency
44
// REQUIRES: libdispatch

test/Concurrency/Runtime/custom_executors_tryDiagnoseExecutorConformance_with_sdk_missing_job_type.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-concurrency-without-job) -typecheck -parse-as-library %s -verify
1+
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-concurrency-without-job) -emit-sil -parse-as-library %s -verify
22

33
// REQUIRES: concurrency
44
// REQUIRES: libdispatch

0 commit comments

Comments
 (0)