• jonghoonpark's avatar
    dynamically list test files (#13220) · 5a3534f9
    jonghoonpark authored
    **Related issue**
    https://github.com/redis/redis/issues/13219
    
    **Motivation**
    Currently we have to manually update the all_tests variable when
    introducing new test files.
    
    **Modification**
    I have modified it to list test files dynamically, but instead of
    modifying it to add all test files, I have modified it to only add only
    test files from the following 4 paths
    
    - unit
    - unit/type
    - unit/cluster
    - integration
    
    so that it doesn't deviate too much from what we already do
    
    **Result**
    - dynamically list test files to all_tests variable
    - close issue https://github.com/redis/redis/issues/13219
    
    
    
    **Additional information**
    - removed `list-common.tcl` file and added
    `generate_largevalue_test_array` proc in `util.tcl`. because
    `list-common.tcl` is not a test file
    - There is an order dependency. So I added a code to the "Is a ziplist
    encoded Hash promoted on big payload?" test that resets
    hash-max-listpack-value to the default (64).
    
    ---------
    Signed-off-by: default avatarjonghoonpark <dev@jonghoonpark.com>
    Co-authored-by: default avatardebing.sun <debing.sun@redis.com>
    5a3534f9
test_helper.tcl 28.1 KB