chg: [tests] improve test output, show all running screens

This commit is contained in:
terrtia 2024-08-13 14:23:50 +02:00
parent e752f59a0a
commit 612c8dbce1
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -581,6 +581,15 @@ function update_thirdparty {
function launch_tests() { function launch_tests() {
tests_dir=${AIL_HOME}/tests tests_dir=${AIL_HOME}/tests
bin_dir=${AIL_BIN} bin_dir=${AIL_BIN}
echo -e ""
echo -e $GREEN"AIL SCREENS:"$DEFAULT
echo -e $ROSE`screen -ls`$DEFAULT
echo -e $GREEN"\t* Redis: $isredis"$DEFAULT
echo -e $GREEN"\t* Kvrocks: $iskvrocks $isscripted $isflasked"$DEFAULT
echo -e $GREEN"\t* Modules: $isscripted"$DEFAULT
echo -e $GREEN"\t* Flask: $isflasked"$DEFAULT
echo -e ""
echo -e ""
python3 -m nose2 --start-dir $tests_dir --coverage $bin_dir --with-coverage test_api test_modules python3 -m nose2 --start-dir $tests_dir --coverage $bin_dir --with-coverage test_api test_modules
} }