Skip to content

Commit 27a4e82

Browse files
committed
The runtime function swift_autoDiffCreateLinearMapContext was recently added
So these tests fail with missing symbols if the test is deployed with stdlib's on older OSes rdar://71900166
1 parent aea1ace commit 27a4e82

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

test/AutoDiff/stdlib/simd.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
33

4+
// Would fail due to unavailability of swift_autoDiffCreateLinearMapContext.
5+
// UNSUPPORTED: use_os_stdlib
6+
47
import _Differentiation
58
import StdlibUnittest
69

test/AutoDiff/validation-test/address_only_tangentvector.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
33

4+
// Would fail due to unavailability of swift_autoDiffCreateLinearMapContext.
5+
// UNSUPPORTED: use_os_stdlib
6+
47
import StdlibUnittest
58
import DifferentiationUnittest
69

test/AutoDiff/validation-test/array.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
33

4+
// Would fail due to unavailability of swift_autoDiffCreateLinearMapContext.
5+
// UNSUPPORTED: use_os_stdlib
6+
47
import StdlibUnittest
58
import _Differentiation
69

test/AutoDiff/validation-test/inout_parameters.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %target-run-simple-swift
22
// REQUIRES: executable_test
33

4+
// Would fail due to unavailability of swift_autoDiffCreateLinearMapContext.
5+
// UNSUPPORTED: use_os_stdlib
6+
47
// `inout` parameter differentiation tests.
58

69
import DifferentiationUnittest

0 commit comments

Comments
 (0)