diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2021-01-03 10:30:29 +0100 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-01 11:53:43 -0500 |
commit | 09448c0994390697e876db235a3b773311795238 (patch) | |
tree | 158aef0eaa52de9de9711a9017ea3338aa8d8190 /gnu/packages/check.scm | |
parent | 8a15ecf0e3434f82194b8ccafbcfaafb5d323749 (diff) | |
download | guix-09448c0994390697e876db235a3b773311795238.tar.gz |
build/python: Add a sanity check phase.
Add a new phase validating the usability of installed Python packages. * gnu/packages/aux-files/python/sanity-check.py: New file. * Makefile.am (AUX_FILES): Register it. * guix/build-system/python.scm (sanity-check.py): New variable. (lower): Add the script as an implicit input. * guix/build/python-build-system.scm: Remove trailing #t. (sanity-check): New phase. (%standard-phases): Use it. * tests/builders.scm: (make-python-dummy) (dummy-ok, dummy-dummy-nosetuptools, dummy-fail-requirements) (dummy-fail-import, dummy-fail-console-script): New variables. ("python-build-system: dummy-ok") ("python-build-system: dummy-dummy-nosetuptools") ("python-build-system: dummy-fail-requirements") ("python-build-system: dummy-fail-import") ("python-build-system: dummy-fail-console-script"): Add tests.
Diffstat (limited to 'gnu/packages/check.scm')
0 files changed, 0 insertions, 0 deletions