[Libreoffice-commits] online.git: 2 commits - test/fakesockettest.cpp test/Makefile.am
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 1 10:13:37 UTC 2018
test/Makefile.am | 1 +
test/fakesockettest.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 856965db9f034a65138569b0c8a55c7d58368daa
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Nov 1 12:12:26 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Nov 1 12:12:26 2018 +0200
Return correct exit value, 0 for success, 1 for failure
Change-Id: Ie3454cac318ce6a0e8c2c59ae9d3ae3c6658c0b8
diff --git a/test/fakesockettest.cpp b/test/fakesockettest.cpp
index 417c636a6..be45c3ed5 100644
--- a/test/fakesockettest.cpp
+++ b/test/fakesockettest.cpp
@@ -220,7 +220,7 @@ int main(int, char**)
fakeSocketDumpState();
- return result.wasSuccessful();
+ return result.wasSuccessful() ? 0 : 1;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 3d408d43388de360c0de76bee62ca0f3e8d26a74
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Nov 1 12:10:47 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Nov 1 12:10:47 2018 +0200
Actually run the fakesockettest
Sad that this Makefile.am is so complicated, and that this needs to be
added explicitly like this.
Change-Id: I8b1b25761eb723e124cab96479f49478d3a75194
diff --git a/test/Makefile.am b/test/Makefile.am
index cd8a7c643..9b7d8def3 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -112,6 +112,7 @@ endif
if HAVE_LO_PATH
check-local:
+ ./fakesockettest
@fc-cache "@LO_PATH@"/share/fonts/truetype
./run_unit.sh --log-file test.log --trs-file test.trs
# FIXME 2: unit-oob.la fails with symbol undefined:
More information about the Libreoffice-commits
mailing list