office-gobmx/smoketest
Noel Grandin 1743d74e87 clang-tidy modernize-pass-by-value in various
Change-Id: Ie091b22bd77d4e1fbff46545bc86c12f1dbafcfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138171
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-08-13 19:11:49 +02:00
..
com/sun/star/comp/smoketest
data
org/libreoffice/smoketest
CppunitTest_smoketest.mk
Extension_TestExtension.mk
Jar_smoketest.mk
Jar_TestExtension.mk
Library_smoketest.mk
Makefile
Module_smoketest.mk
README.md
smoketest.cxx
smoketest_too.cxx
Zip_smoketestdoc.mk

Smoke Test

Smoke test for each component of LibreOffice.

  • smoketest:

The main smoketest.cxx is launched connects via binary UNO over a socket to a remote LibreOffice instance. This loads a document which is zipped at build time into the workdir/ from the data/ directory. This in turn contains a set of macros in data/Basic/Standard.

smoketest.cxx does a remote the StartTestWithDefaultOptions macro and waits for a dispatchFinished from the macro's execution. To debug this best load workdir/Zip/smoketestdoc.sxw - and hit start smoketest - this will launch a number of components and build a suitable report in the form of a table.

The StarBasic smoketests also log their output, this ends up in instdir/user/temp/smoketest.log.