-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[test] Update alternative interface framework module interface test to run on both arm64 and x86_64 #38464
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
[test] Update alternative interface framework module interface test to run on both arm64 and x86_64 #38464
Conversation
Thanks! |
See discussion in https://bugs.swift.org/browse/SR-14762, this fix "works" because normally on arm64, you will end up building an arm64 stdlib, but it's not clear if it's the right fix in the first place. If you look at commit in which the test case was added (b6cd513), it seems to be testing the backup directory functionality and it seems like arm64 being hard-coded is not related to thing the test is trying to verify. cc @nkcsgexi |
41af21f
to
eba5ede
Compare
It seems I've missed that, thanks for the explanation @varungandhi-apple :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a reasonable strategy.
@swift-ci Please test |
Build failed |
eba5ede
to
90c6eff
Compare
@swift-ci Please test MacOS Platform |
It seems that tests run in more targets CPUs than just arm64 and x86, so I'm not sure if we should add all in this case... trying to limit macOS(which I not sure only runs on that because I don't know if even then it targets simulator archs), what do you think @varungandhi-apple? |
Maybe we should go for I'm all ears if you have any other ideas... |
I think it would be fine, different from only |
macOS can also run |
90c6eff
to
e3d7b5d
Compare
Ah make sense, just made the changes! |
@swift-ci Please test |
Windows test failure its not related... |
@swift-ci Please test Windows Platform |
@varungandhi-apple There are any additional points or this is good to go? |
e3d7b5d
to
3237806
Compare
3237806
to
1fc7f07
Compare
Added |
Sorry, I missed your earlier comment. Yeah, I think this is also okay. @swift-ci test |
Build failed |
No worries @varungandhi-apple, thanks for the review :) |
@swift-ci Please test MacOS Platform |
Running all lit tests on x86 machine cause this test to always fail because it runs a build commands specific for
arm64
.This updates the test to use
-target %target-cpu-...
limited require CPU arch arm64 and x86_64 on macOS and buildDummyModule
Input module for x86_64 as well.This was recently reported on the forums https://forums.swift.org/t/build-alternative-interface-framework-failed-while-running-tests/50499