mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
tests: disable COW checking by default, and enable it for specific tests
COW checking needs that all libraries are consistently compiled with asserts enabled. This is not the case for the Foundation overlay anymore. Therefore it does not work with some tests which interop with Foundation. The solution here is to disable COW checking by default, but enable it for Array tests which do not interop with Foundation.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// Do Not Edit Directly!
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// RUN: %target-run-simple-swift
|
||||
// RUN: %enable-cow-checking %target-run-simple-swift
|
||||
// REQUIRES: executable_test
|
||||
// REQUIRES: optimized_stdlib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user