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.
-
I can see that the
gix-testtools
crate is published on crates.io but it is never used in the othergix
crates. Thegix
crates specify it as apath dependency
. Is that intentional? I am asking this because I am packaginggix
for fedora and some crates fail to build because their tests are failing. I could simply deactivate the tests, which will fix the build, but I dislike this option.Beta Was this translation helpful? Give feedback.
All reactions