Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
Icinga 2 Security Releases 2.12.5 and 2.11.10
rpm-icinga2
Commits
508b69da
Commit
508b69da
authored
Mar 13, 2019
by
Markus Frosch
Browse files
Add %check to run unit tests
parent
e139c8ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
icinga2.spec
View file @
508b69da
...
...
@@ -368,8 +368,6 @@ CMAKE_OPTS="$CMAKE_OPTS
-DBOOST_LIBRARYDIR=%{_libdir}/%{boost_library} \
-DBOOST_INCLUDEDIR=/usr/include/%{boost_library} \
-DBoost_ADDITIONAL_VERSIONS='%{boost_version};%{boost_version}.0'"
# TODO: does testing work now?
# -DBUILD_TESTING=FALSE"
%endif # boost_library
%if 0%{?use_systemd}
...
...
@@ -449,6 +447,10 @@ install -D -m 0644 tools/syntax/vim/ftdetect/%{name}.vim %{buildroot}%{_datadir}
install -D -m 0644 tools/syntax/nano/%{name}.nanorc %{buildroot}%{_datadir}/nano/%{name}.nanorc
%check
export CTEST_OUTPUT_ON_FAILURE=1
make test
%pre
%if "%{_vendor}" == "suse"
%if 0%{?use_systemd}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment