Skip to content

Commit 3ae4e62

Browse files
Merge pull request swiftlang#34924 from aschwaighofer/fix_autodiff_test_failure_on_os_stdlib
The runtime function swift_autoDiffCreateLinearMapContext was recently added
2 parents 3d91d7f + 27a4e82 commit 3ae4e62

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)