[Libreoffice-commits] online.git: test/run_unit.sh.in
Andras Timar
andras.timar at collabora.com
Fri Jun 15 06:35:39 UTC 2018
test/run_unit.sh.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bf0e286cc9bce931a02bfbbe54e3e0d193c7a6a1
Author: Andras Timar <andras.timar at collabora.com>
Date: Fri Jun 15 08:34:06 2018 +0200
Use absolute path to load unitlibs
I had a scenario when they were not found (tinderbox).
Change-Id: I48f40b62f74a1ffbab64ad9a9b677f8cf66a1232
diff --git a/test/run_unit.sh.in b/test/run_unit.sh.in
index 42e5b11ae..1c63c3ae2 100755
--- a/test/run_unit.sh.in
+++ b/test/run_unit.sh.in
@@ -129,7 +129,7 @@ else # newer unit tests.
--o:ssl.cert_file_path="${abs_top_builddir}/etc/cert.pem" \
--o:ssl.ca_file_path="${abs_top_builddir}/etc/ca-chain.cert.pem" \
--o:admin_console.username=admin --o:admin_console.password=admin \
- --unitlib=".libs/$tst.so" 2> "$tst_log"; then
+ --unitlib="${abs_top_builddir}/test/.libs/$tst.so" 2> "$tst_log"; then
echo "Test $tst passed."
echo ":test-result: PASS $tst" >> $test_output
else
@@ -146,7 +146,7 @@ else # newer unit tests.
echo " --o:ssl.cert_file_path=\"${abs_top_builddir}/etc/cert.pem\" \\"
echo " --o:ssl.ca_file_path=\"${abs_top_builddir}/etc/ca-chain.cert.pem\" \\"
echo " --o:admin_console.username=admin --o:admin_console.password=admin \\"
- echo " --unitlib=\".libs/$tst.so\""
+ echo " --unitlib=\"${abs_top_builddir}/test/.libs/$tst.so\""
echo ""
echo " $ less $tst_log # for detailed failure log files"
echo "============================================================="
More information about the Libreoffice-commits
mailing list