gnu: Add subunit.

* gnu/packages/check.scm (subunit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Antero Mejr 2023-05-31 19:27:01 +00:00 committed by Ludovic Courtès
parent 5338f5eec0
commit aea081e87d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3554,3 +3554,36 @@ (define-public guile-proba
to run test collections, and a library that includes a test runner and to run test collections, and a library that includes a test runner and
helpers for writing tests.") helpers for writing tests.")
(license license:public-domain))) (license license:public-domain)))
(define-public subunit
(package
(name "subunit")
(version "1.4.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/testing-cabal/subunit")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"16n1zxwnmhb7vzixngvmm5zzk4q5jaqqjwyr6pr6w0ys60b7xja3"))))
(build-system gnu-build-system)
(native-inputs (list autoconf
automake
check
cppunit
libtool
pkg-config
python-fixtures
python-hypothesis
python-testscenarios))
(inputs (list perl python))
(propagated-inputs (list python-testtools))
(home-page "https://github.com/testing-cabal/subunit")
(synopsis "Test reporting and control protocol")
(description
"Subunit is a streaming protocol for test results. Subunit comes with
command line filters to process a subunit stream and language bindings for
Python, C, C++ and shell. Bindings are easy to write for other languages.")
(license (list license:asl2.0 license:bsd-3)))) ;user can pick