Skip to content

Commit

Permalink
add echo check
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Jan 3, 2024
1 parent 8245f23 commit 0c5271f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0c5271f

Please sign in to comment.