Skip to content

Commit ad67549

Browse files
committed
Fix performance test output
1 parent 0696d83 commit ad67549

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ official-image-integration-test: $(SELECTED_PACKAGE) build-mock-management-plane
173173
go test -v ./test/integration/managementplane ./test/integration/auxiliarycommandserver
174174

175175
performance-test:
176-
@mkdir -p $(TEST_BUILD_DIR)
177-
@CGO_ENABLED=0 $(GOTEST) -count 10 -timeout 6m -bench=. -benchmem -run=^$$ ./... > $(TEST_BUILD_DIR)/benchmark.txt
178-
@cat $(TEST_BUILD_DIR)/benchmark.txt
176+
mkdir -p $(TEST_BUILD_DIR)
177+
CGO_ENABLED=0 $(GOTEST) -count 10 -timeout 6m -bench=. -benchmem -run=^$$ ./... | tee $(TEST_BUILD_DIR)/benchmark.txt
178+
cat $(TEST_BUILD_DIR)/benchmark.txt
179179

180180
compare-performance-benchmark-results:
181181
@$(GORUN) $(BENCHSTAT) $(OLD_BENCHMARK_RESULTS_FILE) $(TEST_BUILD_DIR)/benchmark.txt

0 commit comments

Comments
 (0)