tree: 83f21e4a21d47c83da92fb732e2e191fc67447f3 [path history] [tgz]
  1. com/
  2. data/
  3. org/
  4. CppunitTest_smoketest.mk
  5. Extension_TestExtension.mk
  6. Jar_smoketest.mk
  7. Jar_TestExtension.mk
  8. Library_smoketest.mk
  9. Makefile
  10. Module_smoketest.mk
  11. README.md
  12. smoketest.cxx
  13. smoketest_too.cxx
  14. Zip_smoketestdoc.mk
smoketest/README.md

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.