valkey-io / valkey

A flexible distributed key-value datastore that is optimized for caching and other realtime workloads.
https://valkey.io
Other
17.62k stars 664 forks source link

List test files dynamically in TCL test framework #302

Closed hpatro closed 7 months ago

hpatro commented 7 months ago

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 the all_tests variable.

Ref: https://github.com/valkey-io/valkey/pull/267

dev-jonghoonpark commented 7 months ago

Can I contribute?

enjoy-binbin commented 7 months ago

done in #313, closing