From 0c5271f446588974391d0736c3348e3e5b6442b6 Mon Sep 17 00:00:00 2001 From: Sijie Date: Wed, 3 Jan 2024 18:22:56 -0500 Subject: [PATCH] add echo check --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 87e6fe53..009fd244 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,7 @@ build-test-script: echo 'cd $$script_dir/../$(TEST_DIR)' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME) echo 'python -m nose --with-coverage --cover-package=$(SERVICE_CAPS) --cover-html --cover-html-dir=/kb/module/work/test_coverage --cover-xml --cover-xml-file=/kb/module/work/test_coverage/coverage.xml --nocapture --nologcapture .' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME) echo 'returncode=$?' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME) + echo 'echo returncode' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME) echo 'if [ $returncode != 0 ]; then exit $returncode; fi' >> $(TEST_DIR)/$(TEST_SCRIPT_NAME) chmod +x $(TEST_DIR)/$(TEST_SCRIPT_NAME)