mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add hash-extender.
* gnu/packages/crypto.scm (hash-extender): New variable. * gnu/packages/patches/hash-extender-test-suite.patch: New file. * gnu/local.mk (dist_patch_DATA): Register the new file.
This commit is contained in:
parent
f2c7513d16
commit
bbeb710de7
3 changed files with 59 additions and 0 deletions
13
gnu/packages/patches/hash-extender-test-suite.patch
Normal file
13
gnu/packages/patches/hash-extender-test-suite.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
Make the test suite exit with a non-zero exit code if some tests failed.
|
||||
Pull request pending upstream: https://github.com/iagox86/hash_extender/pull/13
|
||||
--- a/test.c
|
||||
+++ b/test.c
|
||||
@@ -79,5 +79,9 @@ void test_report(void)
|
||||
printf("TESTS PASSED: %d / %d [%2.4f%%]\n", tests_passed, tests_run, 100 * (float)tests_passed / tests_run);
|
||||
printf("--------------------------------------------------------------------------------\n");
|
||||
}
|
||||
+
|
||||
+ if (tests_passed != tests_run) {
|
||||
+ exit(1);
|
||||
+ }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue