Enhance testing.
This commit is contained in:
parent
373005e21f
commit
8ee4a5329c
@ -1,6 +1,6 @@
|
|||||||
Name: libxdg-basedir
|
Name: libxdg-basedir
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
Summary: Implementation of the XDG Base Directory Specifications
|
Summary: Implementation of the XDG Base Directory Specifications
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -62,9 +62,14 @@ make install DESTDIR="$RPM_BUILD_ROOT"
|
|||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check USE_VALGRIND=1
|
make check USE_VALGRIND=1
|
||||||
|
env -i make check USE_VALGRIND=1
|
||||||
|
# Check that we get NULL for all things rooted in ENV{HOME} when running
|
||||||
|
# with HOME unset
|
||||||
|
env -i ./tests/testdump | grep null > grep.NULL
|
||||||
|
env -i ./tests/testdump | grep HOME | grep -v DIRS > grep.HOME
|
||||||
|
diff -u grep.NULL grep.HOME
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
@ -81,6 +86,9 @@ make check USE_VALGRIND=1
|
|||||||
%doc doc/html/
|
%doc doc/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 01 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.2.0-20
|
||||||
|
- Enhance testing.
|
||||||
|
|
||||||
* Mon Apr 01 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.2.0-19
|
* Mon Apr 01 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.2.0-19
|
||||||
- Patch correction.
|
- Patch correction.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user