Skip test_disk_partitions on Zuul CI
Resolves: RHEL-58359
This commit is contained in:
parent
d437c62b01
commit
810665530a
@ -68,6 +68,12 @@ find psutil -name \*.py | while read file; do
|
|||||||
rm $file.orig
|
rm $file.orig
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# When running tests on Zuul CI, "/" is not mounted, hence the test fail
|
||||||
|
# We want to run it on other build systems, hence the explicit skip for
|
||||||
|
# the particular buildhost
|
||||||
|
%if "%{_buildhost}" == "zuulci-mockbuild.redhat.com"
|
||||||
|
sed -i "s/test_disk_partitions/notest_disk_partitions/" psutil/tests/test_system.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires
|
%pyproject_buildrequires
|
||||||
|
Loading…
Reference in New Issue
Block a user