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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 21 19:26:01 UTC 2020


 cypress_test/Makefile.am |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 75451d9fb67fe86f30442971493b45d42197eba2
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Feb 21 19:53:52 2020 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Feb 21 20:25:43 2020 +0100

    cypress: use parentheses consistently in the make file.
    
    Change-Id: I3d679fe99749222a6ab56c952d5d3fa09a6dd3d7
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89238
    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 60f6df644..48ec88ba4 100644
--- a/cypress_test/Makefile.am
+++ b/cypress_test/Makefile.am
@@ -1,22 +1,22 @@
 if ENABLE_CYPRESS
 
 abs_dir = $(if $(filter $(abs_builddir),$(abs_srcdir)),.,$(abs_srcdir))
-CYPRESS_BINARY = ${abs_builddir}/node_modules/cypress/bin/cypress
-ESLINT_BINARY = ${abs_builddir}/node_modules/eslint/bin/eslint.js
-WAIT_ON_BINARY = ${abs_builddir}/node_modules/wait-on/bin/wait-on
-GET_PORT_BINARY = ${abs_builddir}/node_modules/get-port-cli/cli.js
+CYPRESS_BINARY = $(abs_builddir)/node_modules/cypress/bin/cypress
+ESLINT_BINARY = $(abs_builddir)/node_modules/eslint/bin/eslint.js
+WAIT_ON_BINARY = $(abs_builddir)/node_modules/wait-on/bin/wait-on
+GET_PORT_BINARY = $(abs_builddir)/node_modules/get-port-cli/cli.js
 
 PID_FILE=$(abs_builddir)/loolwsd.pid
 
 DESKTOP_USER_AGENT = "cypress"
-DESKTOP_TEST_FOLDER = ${abs_srcdir}/integration_tests/desktop
-DESKTOP_DATA_FOLDER = ${abs_srcdir}/data/desktop/
-DESKTOP_WORKDIR = ${abs_builddir}/workdir/desktop/
+DESKTOP_TEST_FOLDER = $(abs_srcdir)/integration_tests/desktop
+DESKTOP_DATA_FOLDER = $(abs_srcdir)/data/desktop/
+DESKTOP_WORKDIR = $(abs_builddir)/workdir/desktop/
 
 MOBILE_USER_AGENT = "cypress mobile"
-MOBILE_TEST_FOLDER = ${abs_srcdir}/integration_tests/mobile
-MOBILE_DATA_FOLDER = ${abs_srcdir}/data/mobile/
-MOBILE_WORKDIR = ${abs_builddir}/workdir/mobile/
+MOBILE_TEST_FOLDER = $(abs_srcdir)/integration_tests/mobile
+MOBILE_DATA_FOLDER = $(abs_srcdir)/data/mobile/
+MOBILE_WORKDIR = $(abs_builddir)/workdir/mobile/
 
 ALLOWED_PORTS = $(shell seq 9900 1 9980)
 FREE_PORT=$(shell $(GET_PORT_BINARY) --host=127.0.0.1 $(ALLOWED_PORTS))
@@ -66,7 +66,7 @@ run-mobile: @JAILS_PATH@ $(NODE_BINS)
 define run_JS_error_check
 	@echo "Checking for JS errors in test code..."
 	@echo
-	@NODE_PATH=${abs_dir}/node_modules $(NODE) $(ESLINT_BINARY) $(abs_srcdir) \
+	@NODE_PATH=$(abs_dir)/node_modules $(NODE) $(ESLINT_BINARY) $(abs_srcdir) \
 		--ignore-path $(abs_srcdir)/.eslintignore --config $(abs_top_srcdir)/loleaflet/.eslintrc
 	@echo
 endef
@@ -96,7 +96,7 @@ define run_desktop_tests
 			--config integrationFolder=$(DESKTOP_TEST_FOLDER),userAgent=$(DESKTOP_USER_AGENT) \
 			--headless \
 			--env DATA_FOLDER=$(DESKTOP_DATA_FOLDER),WORKDIR=$(DESKTOP_WORKDIR),WSD_VERSION_HASH=$(LOOLWSD_VERSION_HASH),SERVER_PORT=$(FREE_PORT) \
-			$(if $(1), --spec=${abs_dir}/integration_tests/desktop/$(1)) \
+			$(if $(1), --spec=$(abs_dir)/integration_tests/desktop/$(1)) \
 			|| ($(KILL_COMMAND) && false)
 endef
 


More information about the Libreoffice-commits mailing list