[Libreoffice-commits] online.git: cypress_test/Makefile.am
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 10 10:16:05 UTC 2020
cypress_test/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 50d4451c2100fb8b23381bb46b4e66b644c5de86
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Sun May 10 11:27:43 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Sun May 10 12:15:46 2020 +0200
cypress: catch also "Command failed:" as an error.
Change-Id: Ie5649886eabf3994ba003dc9e7b9b28790c1a58b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93925
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/Makefile.am b/cypress_test/Makefile.am
index 3e8e5908d..f60453ac8 100644
--- a/cypress_test/Makefile.am
+++ b/cypress_test/Makefile.am
@@ -185,12 +185,12 @@ endef
define execute_run_parallel
@mkdir -p $(dir $(2)) && touch $(2) && \
echo "`echo $(1) && $(1)`" > $(2) 2>&1 && \
- if [ -z `grep -o -m 1 "Error:" $(2)` ];\
+ if [ -z `grep -o -m 1 "Error:\|Command failed:" $(2)` ];\
then cat $(2);\
elif [ -z $(CYPRESS_NO_SECOND_CHANCE) ]; \
then echo "Second chance!" > $(2) && \
echo "`echo $(1) && $(1)`" >> $(2) 2>&1 && \
- if [ -z `grep -o -m 1 "Error:" $(2)` ];\
+ if [ -z `grep -o -m 1 "Error:\|Command failed:" $(2)` ];\
then cat $(2);\
else cat $(2) >> $(ERROR_LOG)&& \
echo "" >> $(ERROR_LOG) && \
More information about the Libreoffice-commits
mailing list