summaryrefslogtreecommitdiffstats
path: root/smoketest/README.md
blob: 5cd48ecb38f9a81731ef6685437694f7ce18de93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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`.