Open
Conversation
Contributor
Author
|
The failed build may due to the package requires In the How to run the test in this case or is it okay to use |
Bnyro
reviewed
Jan 5, 2026
Contributor
Bnyro
left a comment
There was a problem hiding this comment.
Tests running in docker should be disabled, yes. See e.g.
void-packages/srcpkgs/grype/template
Line 17 in c7c2de7
However, for this package, not all tests require docker, so we can just execute the ones that require no docker:
diff --git a/srcpkgs/gtrash/template b/srcpkgs/gtrash/template
index 35de1885c45..d2f3179f97b 100644
--- a/srcpkgs/gtrash/template
+++ b/srcpkgs/gtrash/template
@@ -12,6 +12,10 @@ changelog="https://github.com/umlx5h/gtrash/releases"
distfiles="https://github.com/umlx5h/gtrash/archive/refs/tags/v${version}.tar.gz"
checksum=66003276073d9da03cbb4347a4b161f89c81f3706012b77c3e91a154c91f3586
+do_check() {
+ make test
+}
+
post_install() {
vlicense LICENSE
}
Contributor
Author
|
@Bnyro Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing the changes
New package
Local build testing