aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-runner
diff options
context:
space:
mode:
authorDamian Szuberski <[email protected]>2022-11-29 05:39:41 +1000
committerGitHub <[email protected]>2022-11-28 11:39:41 -0800
commit387109364e66468736000a57e071cdfff8328ff6 (patch)
tree4ea032bcfb499e5a03c2bed01fd02880f6e5e5b9 /tests/test-runner
parent5f45e3f699091e257941c2a5c37d8a65d91cd3a9 (diff)
Python3: replace `distutils` with `sysconfig`
- `distutils` module is long time deprecated and already deleted from the CPython mainline. - To remain compatible with Debian/Ubuntu Python3 packaging style, try `distutils.sysconfig.get_python_path(0,0)` first with fallback on `sysconfig.get_path('purelib')` - pyzfs_unittest suite is run unconditionally as a part of ZTS. - Add pyzfs_unittest suite to sanity tests. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes #12833 Closes #13280 Closes #14177
Diffstat (limited to 'tests/test-runner')
-rwxr-xr-xtests/test-runner/bin/zts-report.py.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test-runner/bin/zts-report.py.in b/tests/test-runner/bin/zts-report.py.in
index e5b1ae0f6..a2324d4b5 100755
--- a/tests/test-runner/bin/zts-report.py.in
+++ b/tests/test-runner/bin/zts-report.py.in
@@ -62,14 +62,6 @@ known_reason = 'Known issue'
exec_reason = 'Test user execute permissions required for utilities'
#
-# Some tests require a minimum python version of 3.6 and will be skipped when
-# the default system version is too old. There may also be tests which require
-# additional python modules be installed, for example python3-cffi is required
-# by the pyzfs tests.
-#
-python_deps_reason = 'Python modules missing: python3-cffi'
-
-#
# Some tests require that the kernel supports renameat2 syscall.
#
renameat2_reason = 'Kernel renameat2 support required'
@@ -232,7 +224,6 @@ maybe = {
'io/mmap': ['SKIP', fio_reason],
'largest_pool/largest_pool_001_pos': ['FAIL', known_reason],
'mmp/mmp_on_uberblocks': ['FAIL', known_reason],
- 'pyzfs/pyzfs_unittest': ['SKIP', python_deps_reason],
'pool_checkpoint/checkpoint_discard_busy': ['FAIL', 11946],
'projectquota/setup': ['SKIP', exec_reason],
'removal/removal_condense_export': ['FAIL', known_reason],