Skip to content

Commit 3cdf66c

Browse files
committed
[test] Restrict two driver tests to macOS
These appear to fail when run for other configurations, so restrict them for now until we can figure out what is going wrong.
1 parent 12a2e20 commit 3cdf66c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/Driver/sanitize_address_use_odr_indicator.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// REQUIRES: asan_runtime
22
// RUN: %swiftc_driver -driver-print-jobs -sanitize=address -sanitize-address-use-odr-indicator %s 2>&1 | %FileCheck %s
33

4+
// rdar://83458140
5+
// REQUIRES: OS=macosx
6+
47
// CHECK: swift
58
// CHECK-DAG: -sanitize=address
69
// CHECK-DAG: -sanitize-address-use-odr-indicator

test/Driver/sanitize_recover.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %swiftc_driver -driver-print-jobs -sanitize=address %s 2>&1 | %FileCheck -check-prefix=ASAN_WITHOUT_RECOVER --implicit-check-not='-sanitize-recover=address' %s
66
// REQUIRES: asan_runtime
77

8+
// rdar://83458140
9+
// REQUIRES: OS=macosx
10+
811
// SAN_RECOVER_INVALID_ARG: unsupported argument 'foo' to option '-sanitize-recover='
912
// SAN_RECOVER_UNSUPPORTED_ARG: unsupported argument 'thread' to option '-sanitize-recover='
1013

0 commit comments

Comments
 (0)