Skip to content

Commit 0323fae

Browse files
committed
kconfigs/Kconfig.kdevops: enable AB testing with TEST_AB
Often one wants to just enable AB testing. Instead of having another kconfig file for it, just allow the user to use something like this: make defconfig-xfs_reflink TEST_AB=y That allows us to remove uncessary defconfigs just to enable AB testing. Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 5e19806 commit 0323fae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kconfigs/Kconfig.kdevops

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,14 @@ config KDEVOPS_MAKE_VERBOSE
9494

9595
If unsure, say N.
9696

97+
config KDEVOPS_BASELINE_AND_DEV_SET_BY_CLI
98+
bool
99+
output yaml
100+
default $(shell, scripts/check-cli-set-var.sh TEST_AB)
101+
97102
config KDEVOPS_BASELINE_AND_DEV
98103
bool "Enable both a baseline and development system per target test"
104+
default y if KDEVOPS_BASELINE_AND_DEV_SET_BY_CLI
99105
default n
100106
help
101107
By default kdevops will only spawn a baseline target node (local

0 commit comments

Comments
 (0)