Skip to content

Commit 58b4add

Browse files
committed
fstests: add make target for running tests on all hosts
Add a new 'fstests-tests' make target that runs tests on both baseline and dev hosts simultaneously. This target is useful for A/B testing scenarios where you want to run the same tests on multiple host configurations in parallel. The target uses the same FSTESTS_DYNAMIC_RUNTIME_VARS as the existing baseline and dev targets but limits execution to both baseline and dev host groups together. Generated-by: Claude AI Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 2c9b44c commit 58b4add

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

workflows/fstests/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,15 @@ fstests-dev: $(KDEVOPS_EXTRA_VARS)
198198
'{ $(FSTESTS_DYNAMIC_RUNTIME_VARS) }' \
199199
--extra-vars=@./extra_vars.yaml $(LIMIT_HOSTS)
200200

201+
fstests-tests: $(KDEVOPS_EXTRA_VARS)
202+
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) \
203+
--limit 'baseline:dev' \
204+
playbooks/fstests.yml \
205+
--tags vars,run_tests,copy_results \
206+
--extra-vars \
207+
'{ $(FSTESTS_DYNAMIC_RUNTIME_VARS) }' \
208+
--extra-vars=@./extra_vars.yaml $(LIMIT_HOSTS)
209+
201210
fstests-baseline-results-tfb-ls: $(KDEVOPS_EXTRA_VARS)
202211
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) \
203212
--limit 'baseline' \
@@ -249,6 +258,7 @@ fstests-help-menu:
249258
@echo "fstests-kdevops-setup - Install kdevops specific files, the fstests and running test targets also runs this"
250259
@echo "fstests-baseline - Run fstests on baseline hosts and collect results"
251260
@echo "fstests-dev - Run fstests on dev hosts and collect results"
261+
@echo "fstests-tests - Run fstests on both baseline and dev hosts simultaneously"
252262
@echo ""
253263
@echo "fstests-config - Generates the filesystem configuration file only onto target systems"
254264
@echo "fstests-config-debug - Generates the filesystem configuration file locally, useful for debugging"

0 commit comments

Comments
 (0)