Increment total tests run instead of hardcoding to 1

This commit is contained in:
Josiah VanderZee 2024-05-17 06:47:57 -05:00
parent ded8ba2337
commit ca092a85fd
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ bool run_tests()
std::cout.flush();
// We count the all the Catch tests as one test for Minetest's own logging
// because we don't have a way to tell how many individual tests Catch ran.
num_total_tests_run = 1;
++num_total_tests_run;
if (num_catch_tests_failed > 0) {
++num_modules_failed;
++num_total_tests_failed;