Skip to content
Snippets Groups Projects
Commit 508b69da authored by Markus Frosch's avatar Markus Frosch
Browse files

Add %check to run unit tests

parent e139c8ed
No related branches found
No related tags found
No related merge requests found
Pipeline #3558 passed
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment