Run tests during package build
Resolves: RHEL-71382
This commit is contained in:
parent
3700514507
commit
11a5eb84f1
@ -178,7 +178,8 @@ find . -name "*.h" -exec chmod 664 {} \;
|
||||
find . -name "*.c" -exec chmod 664 {} \;
|
||||
|
||||
%build
|
||||
%cmake %{?_cmake_skip_rpath} \
|
||||
%cmake \
|
||||
-DBUILD_TESTING=ON \
|
||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
||||
-DWITH_ALSA=ON \
|
||||
-DWITH_AAD=ON \
|
||||
@ -255,6 +256,9 @@ find . -name "*.c" -exec chmod 664 {} \;
|
||||
|
||||
%cmake_build
|
||||
|
||||
%check
|
||||
%cmake_build --target test
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user