-
I can see that the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Tests should be self-contained and are expected to work, but depending on which source for the crates you use, the tests might not be included (like the source packages on crates.io). If you think tests are failing because they are not isolated enough, I would appreciate an issue with more details. Otherwise I'd also like to figure out why tests are failing, even though my guess is that the test-scripts aren't contained in the cargo packages as fedora probably doesn't build from the git repository. |
Beta Was this translation helpful? Give feedback.
-
Thanks for transferring the issue to a discussion! Forgot that GitHub also had this feature :D.
Correct! The issue that I am experiencing is the following:
The problem here is that the Maybe I should mention that fedora packages all crates as separate packages. That means each crate is equal to one package. When building a package, the build system does not have internet access and relies on dependencies being installed through RPM packages. This is why we encounter the problem from above. I hope I explained this clear enough and did not confuse you more :D. |
Beta Was this translation helpful? Give feedback.
Thanks for elaborating, I definitely am less confused now :).
gix-testtools
has been published to crates.io so a package could be created for it. But to pick it up, I presume the cargo-manifests would need to be patched.Further, since the
gix
crate packages don't contain any test code, there isn't much to run in the first place. The few tests that are included as unit-tests aren't that important so skipping them isn't a big deal. Maybe that's the only way forward then?