diff options
author | Fedora Python maintainers <python-devel@lists.fedoraproject.org> | 2020-07-15 13:22:59 (GMT) |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2020-09-29 13:59:05 (GMT) |
commit | cb1585be36fb9178b46e76d95d0e992e03dadd60 (patch) | |
tree | 354f4f9a9c5209314cb4a5c14dcc9f7311727430 /Python | |
parent | a1f0ebddfbe8f9cbbc99a5232f550be0f6bda3f9 (diff) | |
download | cpython-cb1585be36fb9178b46e76d95d0e992e03dadd60.zip cpython-cb1585be36fb9178b46e76d95d0e992e03dadd60.tar.gz cpython-cb1585be36fb9178b46e76d95d0e992e03dadd60.tar.bz2 |
00132-add-rpmbuild-hooks-to-unittest.patch
00132 #
Add non-standard hooks to unittest for use in the "check" phase below, when
running selftests within the build:
@unittest._skipInRpmBuild(reason)
for tests that hang or fail intermittently within the build environment, and:
@unittest._expectedFailureInRpmBuild
for tests that always fail within the build environment
The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
environment, which we set manually in the appropriate portion of the "check"
phase below (and which potentially other python-* rpms could set, to reuse
these unittest hooks in their own "check" phases)
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions