the test code does no automatic checks

It generates documents for manual inspection.
f41
David Tardon 10 years ago
parent da97437f81
commit 3bb66d2868

@ -37,8 +37,7 @@ The %{name}-doc package contains documentation files for %{name}.
%setup -q %setup -q
%build %build
%configure --disable-silent-rules --disable-static --disable-werror \ %configure --disable-silent-rules --disable-static --disable-werror
--enable-test
sed -i \ sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
@ -51,11 +50,6 @@ rm -f %{buildroot}/%{_libdir}/*.la
# we install API docs directly from build # we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name} rm -rf %{buildroot}/%{_docdir}/%{name}
%check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
make %{?_smp_mflags} check
make -C test launch_all
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig

Loading…
Cancel
Save