[Libreoffice-commits] online.git: Makefile.am

Jan Holesovsky kendy at collabora.com
Fri Jan 26 19:40:40 UTC 2018


 Makefile.am |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

New commits:
commit 0039f3c041b0d687c0495741d53eca800ee8f894
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Jan 26 20:27:51 2018 +0100

    Add run-strace target for easy stracing.
    
    Change-Id: I554cfa3965784803430a4cc2c12e61002e2445cd

diff --git a/Makefile.am b/Makefile.am
index d0e2ae2d..2fce7fdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -279,6 +279,21 @@ run-callgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
 			  --o:ssl.ca_file_path="$(abs_top_srcdir)/etc/ca-chain.cert.pem" \
 			  --o:admin_console.username=admin --o:admin_console.password=admin \
 			  --o:logging.file[@enable]=false --o:logging.level=error
+
+run-strace: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
+	@echo "Launching loolwsd under strace"
+	@fc-cache "@LO_PATH@"/share/fonts/truetype
+	@cp $(abs_top_srcdir)/test/data/hello.odt $(abs_top_srcdir)/test/data/hello-world.odt
+	strace -o strace.log -f -tt -s 256 \
+		./loolwsd --nocaps \
+			  --o:sys_template_path="@SYSTEMPLATE_PATH@" --o:lo_template_path="@LO_PATH@" \
+			  --o:child_root_path="@JAILS_PATH@" --o:storage.filesystem[@allow]=true \
+			  --o:ssl.cert_file_path="$(abs_top_srcdir)/etc/cert.pem" \
+			  --o:ssl.key_file_path="$(abs_top_srcdir)/etc/key.pem" \
+			  --o:ssl.ca_file_path="$(abs_top_srcdir)/etc/ca-chain.cert.pem" \
+			  --o:admin_console.username=admin --o:admin_console.password=admin \
+			  --o:logging.file[@enable]=false --o:logging.level=error
+
 else
 
 SYSTEM_STAMP =


More information about the Libreoffice-commits mailing list