-
Notifications
You must be signed in to change notification settings - Fork 97
Factory tests fail on Linux #49
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
Comments
Not sure why either, ill have to take a look. Support was added last release to get those working on linux. What swift version are you using btw? |
Is there any progress on this issue? |
Alright, so. I did some digging. First of all, what I already uncovered yesterday was, that the Runtime/Sources/Runtime/Factory/Factory.swift Lines 60 to 67 in 5b82a3e
Refer to the exemplary backtrace:
Looking at the implementation two things caught my eye:
As you can see in the code snippet above, we pass Runtime/Sources/Runtime/Metadata/MetadataType.swift Lines 60 to 62 in 5b82a3e
In the example of the
To my tests it holds the expected value. |
I'm not 100% sure why but
testClass
andtestGenericClass
are not part of the XCTestManifest and thus don't get run on Linux.The first
testClass
fails on Linux with a segfault.Are these methods supposed to work on Linux or not?
The text was updated successfully, but these errors were encountered: