File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,8 @@ official-image-integration-test: $(SELECTED_PACKAGE) build-mock-management-plane
173
173
go test -v ./test/integration/managementplane ./test/integration/auxiliarycommandserver
174
174
175
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
176
+ mkdir -p $(TEST_BUILD_DIR )
177
+ 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
178
180
179
compare-performance-benchmark-results :
181
180
@$(GORUN ) $(BENCHSTAT ) $(OLD_BENCHMARK_RESULTS_FILE ) $(TEST_BUILD_DIR ) /benchmark.txt
You can’t perform that action at this time.
0 commit comments