Currently test_helper.tcl file maintains a list of test file name(s) all_tests and the list is iterated over to run all the tests. all_tests variable needs to be manually updated on introduction of new test files.
Proposed Solution:
List all the files recursively under unit/* in test_helper.tcl and generate list of tests to be ran dynamically. This avoids manual update of the all_tests variable.
Problem:
Currently test_helper.tcl file maintains a list of test file name(s)
all_tests
and the list is iterated over to run all the tests.all_tests
variable needs to be manually updated on introduction of new test files.Proposed Solution:
List all the files recursively under
unit/*
in test_helper.tcl and generate list of tests to be ran dynamically. This avoids manual update of theall_tests
variable.Ref: https://github.com/valkey-io/valkey/pull/267