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
…9701)

(cherry picked from commit f5a7d4e)

Co-authored-by: Thijs Schreijer <[email protected]>
  • Loading branch information
team-gateway-bot and Tieske authored Jul 16, 2024
1 parent 92a462d commit 6eac9a0
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 @@ -44,7 +44,7 @@ endif
.PHONY: install dev \
sca 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 @@ -190,6 +190,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 @@ -236,3 +239,4 @@ install-legacy:
@luarocks make OPENSSL_DIR=$(OPENSSL_DIR) YAML_DIR=$(YAML_DIR)

dev-legacy: remove install-legacy dependencies

0 comments on commit 6eac9a0

Please sign in to comment.