We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0696d83 commit cdc0c48Copy full SHA for cdc0c48
1 file changed
Makefile
@@ -173,9 +173,8 @@ official-image-integration-test: $(SELECTED_PACKAGE) build-mock-management-plane
173
go test -v ./test/integration/managementplane ./test/integration/auxiliarycommandserver
174
175
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
+ mkdir -p $(TEST_BUILD_DIR)
+ bash -c 'CGO_ENABLED=0 $(GOTEST) -count 10 -timeout 6m -bench=. -benchmem -run=^$$ ./... | tee $(TEST_BUILD_DIR)/benchmark.txt; test $${PIPESTATUS[0]} -eq 0'
179
180
compare-performance-benchmark-results:
181
@$(GORUN) $(BENCHSTAT) $(OLD_BENCHMARK_RESULTS_FILE) $(TEST_BUILD_DIR)/benchmark.txt
0 commit comments