[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.
This commit is contained in:
Ben Langmuir
2021-09-23 11:51:15 -07:00
parent 12a2e202a0
commit 3cdf66ca09
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
// REQUIRES: asan_runtime
// RUN: %swiftc_driver -driver-print-jobs -sanitize=address -sanitize-address-use-odr-indicator %s 2>&1 | %FileCheck %s
// rdar://83458140
// REQUIRES: OS=macosx
// CHECK: swift
// CHECK-DAG: -sanitize=address
// CHECK-DAG: -sanitize-address-use-odr-indicator

View File

@@ -5,6 +5,9 @@
// RUN: %swiftc_driver -driver-print-jobs -sanitize=address %s 2>&1 | %FileCheck -check-prefix=ASAN_WITHOUT_RECOVER --implicit-check-not='-sanitize-recover=address' %s
// REQUIRES: asan_runtime
// rdar://83458140
// REQUIRES: OS=macosx
// SAN_RECOVER_INVALID_ARG: unsupported argument 'foo' to option '-sanitize-recover='
// SAN_RECOVER_UNSUPPORTED_ARG: unsupported argument 'thread' to option '-sanitize-recover='