Skip to content
Snippets Groups Projects
Commit ccc97343 authored by Adriaan de Beer's avatar Adriaan de Beer
Browse files

ST-456 tracing exit status more clearly

parent c5e24a6b
Branches
Tags
No related merge requests found
...@@ -141,7 +141,7 @@ test: ## test the application on K8s ...@@ -141,7 +141,7 @@ test: ## test the application on K8s
base64 -d | tar -xzf -; \ base64 -d | tar -xzf -; \
kubectl --namespace $(KUBE_NAMESPACE) delete pod $(TEST_RUNNER); \ kubectl --namespace $(KUBE_NAMESPACE) delete pod $(TEST_RUNNER); \
rm ../post-deployment/tango_values.yaml; \ rm ../post-deployment/tango_values.yaml; \
echo "Status set at $$status"; \ echo "Status set at \"$$status\" in charts/Makefile test target"; \
exit $$status exit $$status
show: show:
......
...@@ -18,7 +18,7 @@ test: install ...@@ -18,7 +18,7 @@ test: install
find . -name "*.pyc" -type f -delete && \ find . -name "*.pyc" -type f -delete && \
PYTHONPATH=/app:/app/testing:/app/testing/post-deployment pytest $(if $(findstring all,$(MARK)),, -m $(MARK)) --disable-pytest-warnings | tee pytest.stdout && \ PYTHONPATH=/app:/app/testing:/app/testing/post-deployment pytest $(if $(findstring all,$(MARK)),, -m $(MARK)) --disable-pytest-warnings | tee pytest.stdout && \
status=$$?; \ status=$$?; \
echo "Status set at $$status"; \ echo "Status set at \"$$status\" in post-deployment/Makefile test target"; \
$(foreach artfct,$(TEST_ARTIFACTS),mv -f $(artfct) build/;) \ $(foreach artfct,$(TEST_ARTIFACTS),mv -f $(artfct) build/;) \
exit $$status exit $$status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment