office-gobmx/smoketest
Jan-Marek Glogowski 37106f20bd oss-fuzz: convert to static cross-build
This way we can get rid of the pre-generated locale data and the
special fuzzers target, which invokes a full gbuild make for
every prereqisite, always parsing the whole tree, taking ages.

This also reverts:
- commit d0780b21cf ("fix oss-fuzz
  build") by adding epubgen and revenge dependencies.
- commit ff25d6a123 ("ofz#41602 fix
  more build failure"), which shouldn't happen anymore since
  commit d47628f287 ("don't want to
  link to system static libs for DISABLE_DYNLOADING")

Change-Id: I3aed9ec62da507254b42e4e7470bae1097b4bc8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127031
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-12-25 17:05:08 +01: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.