Skip to content

Commit

Permalink
chore(makefile): add target 'test-logs' to show test logs (#12926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored May 2, 2024
1 parent 410298b commit f5a7d4e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ endif
.PHONY: install dev \
lint test test-integration test-plugins test-all \
pdk-phase-check functional-tests \
fix-windows release wasm-test-filters
fix-windows release wasm-test-filters test-logs

ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
KONG_SOURCE_LOCATION ?= $(ROOT_DIR)
Expand Down Expand Up @@ -159,6 +159,9 @@ ifndef test_spec
endif
@$(VENV) $(TEST_CMD) $(test_spec)

test-logs:
tail -F servroot/logs/error.log

pdk-phase-checks: dev
rm -f t/phase_checks.stats
rm -f t/phase_checks.report
Expand Down Expand Up @@ -198,3 +201,4 @@ install-legacy:
@luarocks make OPENSSL_DIR=$(OPENSSL_DIR) CRYPTO_DIR=$(OPENSSL_DIR) YAML_DIR=$(YAML_DIR)

dev-legacy: remove install-legacy dependencies

1 comment on commit f5a7d4e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:f5a7d4ee5f8b6fd99caeed02f92700db5bfe66ee
Artifacts available https://github.com/Kong/kong/actions/runs/8918704399

Please sign in to comment.