Skip to content

test: enable yet more C++ interop tests on Windows #67840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions test/Interop/Cxx/operators/member-inline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import StdlibUnittest

var OperatorsTestSuite = TestSuite("Operators")

#if !os(Windows) // https://github.com/apple/swift/issues/55575
OperatorsTestSuite.test("LoadableIntWrapper.minus (inline)") {
var lhs = LoadableIntWrapper(value: 42)
let rhs = LoadableIntWrapper(value: 23)
Expand All @@ -25,7 +24,6 @@ OperatorsTestSuite.test("AddressOnlyIntWrapper.minus") {

expectEqual(19, result.value)
}
#endif

OperatorsTestSuite.test("LoadableIntWrapper.equal (inline)") {
let lhs = LoadableIntWrapper(value: 42)
Expand Down Expand Up @@ -94,14 +92,12 @@ OperatorsTestSuite.test("TemplatedWithFriendOperator.equal (inline)") {
expectTrue(result)
}

#if !os(Windows) // https://github.com/apple/swift/issues/55575
OperatorsTestSuite.test("LoadableBoolWrapper.exclaim (inline)") {
var wrapper = LoadableBoolWrapper(value: true)

let resultExclaim = !wrapper
expectEqual(false, resultExclaim.value)
}
#endif

OperatorsTestSuite.test("AddressOnlyIntWrapper.call (inline)") {
var wrapper = AddressOnlyIntWrapper(42)
Expand Down Expand Up @@ -267,7 +263,6 @@ OperatorsTestSuite.test("DifferentTypesArrayByVal.subscript (inline)") {
expectEqual(1.5.rounded(.up), resultDouble.rounded(.up))
}

#if !os(Windows) // https://github.com/apple/swift/issues/55575
OperatorsTestSuite.test("NonTrivialArrayByVal.subscript (inline)") {
var arr = NonTrivialArrayByVal()
let NonTrivialByVal = arr[0];
Expand Down Expand Up @@ -295,7 +290,6 @@ OperatorsTestSuite.test("DerivedFromNonTrivialArrayByVal.subscript (inline, base
expectEqual(5, NonTrivialByVal.e)
expectEqual(6, NonTrivialByVal.f)
}
#endif

OperatorsTestSuite.test("PtrByVal.subscript (inline)") {
var arr = PtrByVal()
Expand Down
2 changes: 0 additions & 2 deletions test/Interop/Cxx/operators/member-out-of-line.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import StdlibUnittest

var OperatorsTestSuite = TestSuite("Operators")

#if !os(Windows) // https://github.com/apple/swift/issues/55575
OperatorsTestSuite.test("LoadableIntWrapper.plus (out-of-line)") {
let lhs = LoadableIntWrapper(value: 42)
let rhs = LoadableIntWrapper(value: 23)
Expand All @@ -20,7 +19,6 @@ OperatorsTestSuite.test("LoadableIntWrapper.plus (out-of-line)") {

expectEqual(65, result.value)
}
#endif

OperatorsTestSuite.test("LoadableIntWrapper.call (out-of-line)") {
let wrapper = LoadableIntWrapper(value: 42)
Expand Down