From d2aa01ec05ad9370f573f74afe8b079bb6108430 Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Wed, 27 May 2026 17:36:24 -0700 Subject: [PATCH] Add ability to configure integration test list at command line (#1608) ## Type of Change - [x] New feature ## Motivation and Context When developing, there are times when I want to run a specific set of CLI tests. This PR allows users to set what integration tests they want to run by setting the makefile variable `INTEGRATION_TEST_SUITES`. Example usage: ``` % INTEGRATION_TEST_SUITES="TestCLIVolumes TestCLIAnonymousVolumes" make all integration ``` ## Testing - [x] Tested locally Signed-off-by: Kathryn Baldauf --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e177fef9..b12b1466 100644 --- a/Makefile +++ b/Makefile @@ -187,7 +187,7 @@ define GENERATE_COV_REPORTS @cat $(COVERAGE_OUTPUT_DIR)/$(2)/coverage-percent.txt endef -INTEGRATION_TEST_SUITES := \ +INTEGRATION_TEST_SUITES ?= \ TestCLIHelp \ TestCLIStatus \ TestCLIVersion \ @@ -316,7 +316,7 @@ check-licenses: .PHONY: pre-commit pre-commit: - cp Scripts/pre-commit.fmt .git/hooks + cp scripts/pre-commit.fmt .git/hooks touch .git/hooks/pre-commit cat .git/hooks/pre-commit | grep -v 'hooks/pre-commit\.fmt' > /tmp/pre-commit.new || true echo 'PRECOMMIT_NOFMT=$${PRECOMMIT_NOFMT} $$(git rev-parse --show-toplevel)/.git/hooks/pre-commit.fmt' >> /tmp/pre-commit.new