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:
Erik Eckstein
2021-06-17 11:30:27 +02:00
parent 2f2c132e27
commit 0831240be6
20 changed files with 27 additions and 22 deletions

View File

@@ -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