Skip to content

Commit 6b168dc

Browse files
committed
[test] Temporarily XFAIL tests that expect swiftinterface files to work when using Optional and other stdlib features
1 parent 538a90e commit 6b168dc

File tree

8 files changed

+23
-0
lines changed

8 files changed

+23
-0
lines changed

test/APIJSON/extension.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) %s -typecheck -parse-as-library -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5 -emit-api-descriptor-path %t/api.json
77
// RUN: %validate-json %t/api.json | %FileCheck %s --check-prefixes=CHECK,CHECK-EMIT
88

9+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
10+
// XFAIL: !noncopyable_generics
11+
912
import Foundation
1013

1114
// This should create an ObjC Category and a method with custom name.

test/Concurrency/dynamic_checks_for_func_refs_in_preconcurrency_apis.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// REQUIRES: asserts
3030
// REQUIRES: concurrency
3131

32+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
33+
// XFAIL: !noncopyable_generics
34+
3235
//--- API.swift
3336
public func compute<T>(_: ((T) -> Void)?) {}
3437

test/Interop/CxxToSwiftToCxx/bridge-cxx-struct-back-to-cxx-execution.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
// REQUIRES: executable_test
1515

16+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
17+
// XFAIL: !noncopyable_generics
18+
1619
//--- header.h
1720

1821
#include <stdio.h>

test/Interop/SwiftToCxx/stdlib/swift-stdlib-in-cxx.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %check-interop-cxx-header-in-clang(%t/Swift.h -DSWIFT_CXX_INTEROP_HIDE_STL_OVERLAY -Wno-unused-private-field -Wno-unused-function -Wc++98-compat-extra-semi)
66
// RUN: %check-interop-cxx-header-in-clang(%t/Swift.h -DSWIFT_CXX_INTEROP_HIDE_STL_OVERLAY -Wno-unused-private-field -Wno-unused-function -Wc++98-compat-extra-semi -DDEBUG=1)
77

8+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
9+
// XFAIL: !noncopyable_generics
10+
811
// CHECK: namespace swift SWIFT_PRIVATE_ATTR SWIFT_SYMBOL_MODULE("swift") {
912

1013
// CHECK: template<class T_0_0>

test/ModuleInterface/result_builders.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %target-swift-frontend -compile-module-from-interface %t/ResultBuilders.swiftinterface -o %t/ResultBuilders.swiftmodule
66
// RUN: %FileCheck %s < %t/ResultBuilders.swiftinterface
77

8+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
9+
// XFAIL: !noncopyable_generics
10+
811
// CHECK: @_functionBuilder public struct TupleBuilder
912
@resultBuilder
1013
public struct TupleBuilder {

test/ModuleInterface/swift_build_sdk_interfaces/track-system-dependencies.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
// RUN: %target-typecheck-verify-swift -sdk %t/sdk -I %t/sdk/usr/lib/swift/ -module-cache-path %t/MCP
3131
// RUN: not %{python} %S/../ModuleCache/Inputs/check-is-forwarding-module.py %t/MCP/Swifty-*.swiftmodule
3232

33+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
34+
// XFAIL: !noncopyable_generics
35+
3336
import Swifty
3437

3538
usesCStruct(nil)

test/api-digester/compare-dump-abi-parsable-interface.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
// RUN: %clang -E -P -x c %t.result -o - | sed '/^\s*$/d' > %t.result.tmp
1414
// RUN: diff -u %t.expected %t.result.tmp
1515

16+
// FIXME(NCG): Damned if you do, damned if you don't.
1617
// XFAIL: noncopyable_generics
18+
// XFAIL: !noncopyable_generics
1719

test/api-digester/compare-dump-binary-vs-interface.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@
2929
// RUN: %clang -E -P -x c %S/Outputs/Cake-binary-vs-interface.txt -o - | sed '/^\s*$/d' > %t.expected
3030
// RUN: %clang -E -P -x c %t.result -o - | sed '/^\s*$/d' > %t.result.tmp
3131
// RUN: diff -u %t.expected %t.result.tmp
32+
33+
// FIXME(NCG): This test requires NoncopyableGenerics to be a "suppressible" compiler feature.
34+
// XFAIL: !noncopyable_generics

0 commit comments

Comments
 (0)