- Disable failing tests explicitly instead of ignoring the exit code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=10
This commit is contained in:
Sebastian Wagner 2021-03-12 08:04:12 +00:00 committed by Git OBS Bridge
parent 40f0743fd4
commit 8d4f2107c4
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 12 08:03:39 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Disable failing tests explicitly instead of ignoring the exit code.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 27 15:00:17 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at> Sat Feb 27 15:00:17 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -134,8 +134,10 @@ if [ "$1" = 0 ] ; then
fi fi
%check %check
# 3 tests fail 177 skipped due to missing tools, needs more investigation # test_difference: https://bugzilla.opensuse.org/show_bug.cgi?id=1183143 (https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/243)
py.test-%{python3_bin_suffix} -v || : # test_libmix_differences https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/244#note_231513
# test_identification https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/98
py.test-%{python3_bin_suffix} -k 'not test_difference and not test_identification and not test_libmix_differences'
%files %files
%doc README.rst %doc README.rst