enable smoketest

f41
David Tardon 11 years ago
parent 0d235b83b8
commit 9269ab68a7

@ -1223,7 +1223,6 @@ done
%endif %endif
mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk $RPM_BUILD_ROOT/%{sdkinstdir} mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk $RPM_BUILD_ROOT/%{sdkinstdir}
chmod -R +w $RPM_BUILD_ROOT/%{baseinstdir} chmod -R +w $RPM_BUILD_ROOT/%{baseinstdir}
rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/classes/smoketest.jar
# postprocessing and tweaks # postprocessing and tweaks
@ -1464,15 +1463,18 @@ export DESTDIR=$RPM_BUILD_ROOT
make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb" make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb"
#%check %check
#unset WITH_LANG unset WITH_LANG
## work around flawed accessibility check # work around flawed accessibility check
#export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1" export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
#%if 0%{?rhel} && 0%{?rhel} < 7 export OOO_TEST_SOFFICE=path:$RPM_BUILD_ROOT/%{baseinstdir}/program/soffice
#timeout 2h make smoketest.subsequentcheck %if 0%{?rhel} && 0%{?rhel} < 7
#%else timeout 2h make smoketest.subsequentcheck
#timeout -k 2m 2h make smoketest.subsequentcheck %else
#%endif timeout -k 2m 2h make smoketest.subsequentcheck
%endif
# we don't need this anymore
rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/classes/smoketest.jar
%files %files

Loading…
Cancel
Save