Submitted upstream: https://gitlab.com/weinholt/ac-d-bus/-/merge_requests/3 diff --git a/tests/test-signature.sps b/tests/test-signature.sps index 278401b..cc5574f 100755 --- a/tests/test-signature.sps +++ b/tests/test-signature.sps @@ -43,6 +43,7 @@ (format-type-signature '(message BYTE BYTE BYTE BYTE UINT32 UINT32 (ARRAY (STRUCT BYTE VARIANT))))) +(define fail-count (test-runner-fail-count (test-runner-get))) (test-end) -(exit (if (zero? (test-runner-fail-count (test-runner-get))) 0 1)) +(exit (if (zero? fail-count) 0 1)) diff --git a/tests/test-wire.sps b/tests/test-wire.sps index c3354bf..06ae73b 100755 --- a/tests/test-wire.sps +++ b/tests/test-wire.sps @@ -147,6 +147,7 @@ #x08 #x01 #x67 #x00 #x00 #x00 #x00 #x00 #x05 #x01 #x75 #x00 #x04 #x00 #x00 #x00 #x07 #x01 #x73 #x00 #x06 #x00 #x00 #x00 #x3A #x31 #x2E #x32 #x39 #x38 #x00 #x00))) +(define fail-count (test-runner-fail-count (test-runner-get))) (test-end) -(exit (if (zero? (test-runner-fail-count (test-runner-get))) 0 1)) +(exit (if (zero? fail-count) 0 1)) ='active' href='/guix/log/tests/go.scm'>logtreecommitdiff
path: root/tests/go.scm
AgeCommit message (Expand)Author
2021-03-10import: go: Compute the hash of Git checkouts....* guix/import/go.scm (vcs-file?, file-hash, git-checkout-hash): New procedures. (vcs->origin): Use 'git-checkout-hash' in the 'git case. Ludovic Courtès
2021-03-10import: Add Go importer....This patch adds a 'guix import go' command. * doc/guix.texi (Requirements): Mention Guile-Lib dependency. (Invoking guix import): Document 'guix import go'. * gnu/packages/package-management.scm (guix)[inputs, propagated-inputs]: Add GUILE-LIB. * guix/self.scm (compiled-guix)[guile-lib]: New variable. [dependencies]: Add it. (specification->package): Add "guile-lib". * guix/build-system/go.scm (go-version->git-ref): New procedure. * guix/import/go.scm, guix/scripts/import/go.scm, tests/go.scm: New files. * guix/scripts/import.scm: Declare subcommand guix import go * po/guix/POTFILES.in: Add 'guix/scripts/import/go.scm'. * Makefile.am (MODULES): Add 'guix/import/go.scm' and 'guix/scripts/import/go.scm'. (SCM_TESTS): Add 'tests/go.scm'. Co-Authored-By: Helio Machado <0x2b3bfa0@gmail.com> Co-Authored-By: Francois Joulaud <francois.joulaud@radiofrance.com> Co-Authored-By: Maxim Cournoyer <maxim.cournoyer@gmail.com> Co-Authored-by: Ludovic Courtès <ludo@gnu.org> Katherine Cox-Buday