Skip to content

Conversation

@marcrasi
Copy link

These are copied straight from the tensorflow branch without any modifications necessary.

@marcrasi marcrasi requested review from dan-zheng and rxwei April 17, 2020 23:50
@marcrasi
Copy link
Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 87ded82

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 87ded82

@marcrasi
Copy link
Author

Oh no, there is an import Glibc causing a failure on iphonesimulator-i386. I shall try to fix it using this tip.

@marcrasi
Copy link
Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 87ded82

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 87ded82

@marcrasi
Copy link
Author

@swift-ci please test

@marcrasi
Copy link
Author

@swift-ci please test windows

}

// TODO(SR-8699): Fix this test.
// MethodTests.testWithLeakChecking(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe StdlibUnitTest has a nice built-in way of XFAILing tests. Does this not consistently fail/pass/crash?

}

// TODO(SR-8699): Fix this test.
// MethodTests.testWithLeakChecking("static method with custom adjoint, differentiated directly") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

// forms a curry thunk of `Float.+` before conversion to @differentiable, and AD
// doesn't know how to differentiate the curry thunk, so it produces a
// "function is not differentiable" error.
// SupersetVJPTests.test("CrossModule") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can be XFailed explicitly.

@marcrasi
Copy link
Author

Thanks for catching those commented tests. They actually all pass now, so I have uncommented them.

@marcrasi
Copy link
Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 9e5b4c1

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 9e5b4c1

@marcrasi
Copy link
Author

@swift-ci please test windows

@marcrasi marcrasi merged commit 433821b into swiftlang:master Apr 21, 2020
@marcrasi marcrasi deleted the upstream-test-validation-2 branch April 21, 2020 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants