Skip to content

Commit d98731a

Browse files
committed
chore: restore Makefile from upstream main
Signed-off-by: Ron Kahn <rkahn@nvidia.com>
1 parent 55ed02d commit d98731a

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

operator/Makefile

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -87,30 +87,12 @@ cover-html: test-cover
8787
@echo "Coverage report generated at coverage.html"
8888

8989
# Run e2e tests
90-
# Usage: make test-e2e [TEST_PATTERN=<pattern>] [DIAG_DIR=<path>] [DIAG_MODE=<mode>]
91-
# Examples:
92-
# make test-e2e # Run all tests
93-
# make test-e2e TEST_PATTERN=Test_GS # Run gang scheduling tests
94-
# make test-e2e TEST_PATTERN=Test_GS1 # Run specific test
95-
# make test-e2e TEST_PATTERN=Test_TAS # Run topology tests
96-
# make test-e2e DIAG_DIR=e2e-diagnostics # Output diagnostics to specific directory
97-
# make test-e2e DIAG_MODE=both # Output to stdout and file
98-
# make test-e2e DIAG_MODE=stdout # Output to stdout only
99-
#
100-
# Variables:
101-
# TEST_PATTERN - Test name pattern to match (optional)
102-
# DIAG_DIR - Directory for diagnostic files (default: operator/)
103-
# DIAG_MODE - Diagnostic output mode: stdout, file, both (default: file)
104-
DIAG_DIR ?= $(MODULE_ROOT)
105-
DIAG_MODE ?= file
10690
.PHONY: test-e2e
107-
test-e2e: export GROVE_E2E_DIAG_DIR = $(DIAG_DIR)
108-
test-e2e: export GROVE_E2E_DIAG_MODE = $(DIAG_MODE)
10991
test-e2e:
11092
@echo "> Preparing charts (copying CRDs)..."
11193
@$(MODULE_HACK_DIR)/prepare-charts.sh
11294
@echo "> Running e2e tests..."
113-
@cd e2e && go test -count=1 -tags=e2e ./tests/... -v -timeout 45m $(if $(TEST_PATTERN),-run $(TEST_PATTERN))
95+
@cd e2e && go test -tags=e2e ./tests/... -v -timeout 45m
11496

11597
# Make targets for local development and testing
11698
# -------------------------------------------------------------

0 commit comments

Comments
 (0)