-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Set NS_FOUNDATION_ALLOWS_TESTABLE_IMPORT when ENABLE_TESTING is set. #2641
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
Conversation
@swift-ci test |
@compnerd Could you test this PR on windows please, I want to check that it doesnt enable any tests that are broken on windows. Thanks |
e2b03ce
to
fed521d
Compare
@swift-ci test |
1 similar comment
@swift-ci test |
@swift-ci test macos |
1 similar comment
@swift-ci test macos |
@compnerd I disabled a test on Windows where the functionality isnt implemented, could you retest when you get a chance? thanks |
@compnerd it looks like it built on Windows but there were a large number of test failures, is that expected? |
The number of failures seems to have increased with this change (by at least 2) |
This enabled about 30 extra tests functions so that doesnt seem unreasonable. Is this a blocker to merging? |
I really would prefer not to regress the Windows builds further. It seems that the number of failing tests on Windows in Foundation has been increasing. I'd really prefer to not regress it further. |
I'll disable the |
fed521d
to
6091963
Compare
@swift-ci test |
1 similar comment
@swift-ci test |
Do you mind just disabling the particular tests that are failing instead? |
6091963
to
6c7d249
Compare
@swift-ci test |
@compnerd could you retest this on windows, it looks like the logs from the last run have been removed so I cant work out what extra tests this has broken on windows |
- Disable TestThread.test_threadName() as some of the tests are currently broken. - On Windoes, disable testing the following that still fail: FileManager._replaceItem() Bundle.main.executableURL Bundle.init?(_executableURL:) TestFileHandle.testOffset()
6c7d249
to
30ac274
Compare
@swift-ci test |
1 similar comment
@swift-ci test |
@compnerd I think I've disabled all of the |
@swift-ci test and merge |
1 similar comment
@swift-ci test and merge |
currently broken.