Fix script for running tests in gating
I forgot to include the tests/unit_testing.sh fix in the previous build. Resolves: rhbz#1990237
This commit is contained in:
parent
e9ae56e70a
commit
4bf6a0b6da
@ -23,7 +23,7 @@ Version: 3.4.0
|
||||
|
||||
#%%global prerelease .b2
|
||||
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
|
||||
Release: 6%{?prerelease}%{?dist}
|
||||
Release: 7%{?prerelease}%{?dist}
|
||||
Epoch: 1
|
||||
License: LGPLv2+
|
||||
%global realname blivet
|
||||
@ -202,6 +202,10 @@ configuration.
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 17 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.0-7
|
||||
- Fix script for running tests in gating
|
||||
Resolves: rhbz#1990237
|
||||
|
||||
* Wed Aug 11 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.0-6
|
||||
- Remove "Revert Terminology cleanups" patch
|
||||
Resolves: rhbz#1990982
|
||||
|
@ -4,9 +4,8 @@
|
||||
set -e
|
||||
|
||||
# Get path to blivet
|
||||
blivet_path=$(find /usr/ -path */site-packages/)
|
||||
blivet_path=$(find /usr/ -path */site-packages | tr '\n' ':')
|
||||
|
||||
# Run upstream unit tests
|
||||
cd ./source/
|
||||
PYTHONPATH=$PYTHONPATH:$blivet_path python3 -m unittest discover -v -s ./tests/ -p '*_test.py'
|
||||
|
||||
PYTHONPATH=$blivet_path python3 tests/run_tests.py
|
||||
|
Loading…
Reference in New Issue
Block a user