* gnu/packages/check.scm (unity-test): New variable.
* gnu/packages/patches/unity-test-set-subdir-correctly.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I2d5c88f20df3902513990a5fcf0cbe88b31e2eee
Modified-by: John Kehayias <john@guixotic.coop>
Signed-off-by: John Kehayias <john@guixotic.coop>
* gnu/packages/check.scm (python-behave-web-api): Move from here ...
* gnu/packages/python-web.scm: ... to here.
Change-Id: Ifbb03dd123413c0f3657f1d5d4edccc9f3075b5d
* gnu/packages/check.scm (python-pytest-dependency): Move from here ...
* gnu/packages/python-check.scm: ... to here.
Change-Id: I135998cdbb0b321aa3c5e2a552d6374009e60fbe
* gnu/packages/check.scm (cppcheck)[arguments]: Add a phase to adjust
the expected output from some tests to match the adjusted upstream
output.
Change-Id: I4953f79479a2192fa1a428b4e2988729a05be679
* gnu/packages/check.scm (cppcheck)[arguments]: Add configure-flag to
not use the bundled tinyxml2.
[inputs]: Add tinyxml2.
Change-Id: Id312cb2cdb9ffcee5234a045fb8315afae7d918b
* gnu/packages/check.scm (checkmake)[arguments]<#:phases>{install-man}:
Correct man page name and set its location to be in man1.
Fixes: guix/guix#3903
Change-Id: I640e52e6f11184d38480d1bb458ebecf80212f44
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/check.scm (python-coverage)[arguments] <test-flags>:
Rework ignored test files and deselected tests where some of them are
not present and some just pass fine. Limit the number of threads up 8 to
improve stability in CI.
<phases>: Remove 'patch-pyproject; add 'fix-pytest-config, and
'pre-check.
Change-Id: I1e7693fc04f1e873b0cd9afec112c1ebd26622e3
* gnu/packages/check.scm (python-hypothesis-next):
Mark as a deprecated public alias.
Change-Id: Ic121d5f9cd965095bce70b2c3d3bef887b8f1f8e
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
FWIW, I don't know why it is necessary to both have a `subunit`
package as well as a `python-subunit` package. But at least it
builds now.
* gnu/packages/check.scm (subunit): Update to 1.4.4.
[propagated-inputs]: Add python-iso8601 and python-pygobject.
Change-Id: Id37c498a6869b0ce724a854958b25bc298083fae
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/check.scm (python-subunit): Update to 1.4.4.
Don't inherit from python-subunit as it's no longer required and
migrate missing fields from it.
[build-system]: Switch to pygobject-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide options to run testtols.
<phases>: Add 'disable-failing-tests, and
'disable-failing-console-scripts.
[propagated-inputs]: Remove python-extras; add python-iso8601 and
python-pygobject.
[native-inputs]: Remove python-hypothesis; add python-setuptools.
Change-Id: I394f8e3c3caf500cc875e8ba480bef108ad558aa
* gnu/packages/check.scm (python-testrepository): Update to 0.0.21.
Don't inherit from python-testrepository as it's no longer required and
migrate missing fields from it.
[build-system]: Switch to pyproejct-build-system.
[arguments] <tests?>: All good now.
<phases>: Use custom 'check.
[propagated-inputs]: Remove python-testtools; add python-iso8601.
[native-inputs]: Remove python-mimeparse; add python-hatch-vcs,
python-hatchling, python-pytz, python-setuptools, python-testresources,
and python-testscenarios.
Change-Id: I460e73ceae61d61d0392621d0f5bd89b50238be8
* gnu/packages/check.scm (python-testtools-bootstrap): Inherit from
python-testtools and make it hidden.
Change-Id: I2575ade5cd4292aff4a6028c9c092437c8a8b396
* gnu/packages/check.scm (python-testtools): Don't inherit from
python-testtools-bootstrap as it's no longer required and migrate
missing fields from it.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide options to run testtols.
<phases>: Use default 'check; add 'pre-check.
[propagated-inputs]: Remove python-pbr.
[native-inputs]: Remove python-setuptools.
[licenses]: Fix it according to pyproject.toml and PyPI.
Change-Id: I7c9f5618d90b882141f1880ef7c29996d6a0364b
* gnu/packages/check.scm (python-testscenarios-bootstrap): Inherit from
python-testscenarios and make it hidden.
Change-Id: Ic15bf00f629a3c45dd1aee1e5ea704c2f0bcb03d
* gnu/packages/check.scm (python-testscenarios): Don't inherit from
python-testscenarios-bootstrap as it's no longer required and migrate
missing fields from it.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: I7bb79f69b806d45896f29c86210096c4fb5bffb7
* gnu/packages/check.scm (python-testresources): Update to 2.0.2. Don't
inherit from python-testresources-bootstrap as it's no longer required
and migrate missing fields from it.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide options to run tests with testtools.
[native-inputs]: Add python-setuptools.
[home-page]: Fix it, taken from PyPI <https://pypi.org/project/testresources/>
Change-Id: I0e5dabcf2803c375f493d736c4b78f5c038023e8
* gnu/packages/check.scm (python-fixtures): Update to 4.2.6. Don't
inherit from python-fixtures-bootstrap as it's no longer required and
migrate missing fields from it.
[build-system]: Switch to pyproject-build-system.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Remove python-pbr, python-six, and python-extras.
[native-inputs]: Remove python-mock; add python-hatch-vcs and
python-hatchling.
Change-Id: I46eb61748ee345cd5e51056070d2210f2d787bb8
This package is no longer needed as per: "unittest2 is a backport of the
new features added to the unittest testing framework in Python 2.7 and
onwards.", it has no users in Guix.
* gnu/packages/check.scm (python-unittest2): Delete variable.
* gnu/local.mk (dist_patch_DATA): Deregister 2 patches.
* gnu/packages/patches/python-unittest2-python3-compat.patch: Delete file.
* gnu/packages/patches/python-unittest2-remove-argparse.patch: Likewise.
Change-Id: I7d67223cdd5a0e656a299d83ac28248d7db7c321
It was a fork of "nose.plugins.cover" which is not maintained since 2018
and not in use by any packages in Guix.
* gnu/packages/check.scm (python-nosexcover): Delete variable.
Change-Id: I2e08f1d02df5e34cd0ab85d59cf4ce9fa365f901