Enable the testsuite (but ingore its results for now)
Related: #1519945
This commit is contained in:
parent
48ce0c22ca
commit
f824750374
@ -65,7 +65,9 @@ rm -r win zlib win-iconv examples
|
||||
-DINSTALL_BINDIR="%{_bindir}" \
|
||||
-DINSTALL_LIBDIR="%{_libdir}" \
|
||||
-DINSTALL_INCLUDEDIR="%{_includedir}/mysql" \
|
||||
-DINSTALL_PLUGINDIR="%{_libdir}/mariadb/plugin"
|
||||
-DINSTALL_PLUGINDIR="%{_libdir}/mariadb/plugin" \
|
||||
\
|
||||
-DWITH_UNITTEST=ON
|
||||
|
||||
|
||||
#cmake -LAH
|
||||
@ -98,6 +100,17 @@ ln -s mariadb_version.h %{buildroot}%{_includedir}/mysql/mysql_version.h
|
||||
|
||||
|
||||
|
||||
%check
|
||||
|
||||
# Run the unit tests
|
||||
# - don't run mytap tests
|
||||
# - ignore the testsuite result for now. Enable tests now, fix them later.
|
||||
pushd unittest/libmariadb/
|
||||
ctest || :
|
||||
popd
|
||||
|
||||
|
||||
|
||||
# https://fedoraproject.org/wiki/Packaging:Directory_Replacement
|
||||
%pretrans -p <lua>
|
||||
path = "%{_libdir}/mariadb"
|
||||
|
Loading…
Reference in New Issue
Block a user