Wait for PostgreSQL shutdown after each check
The next check might fail if the previous failed to fully stop the
locally started PostgreSQL instance.
@@ -98,12 +98,13 @@ def setup_package():
test_proj_path)
if ret:
sys.exit(1)
- print("Analyzing the test project was successful {}.".format(str(i)))
if pg_db_config:
print("Waiting for PostgreSQL to stop.")
codechecker.wait_for_postgres_shutdown(TEST_WORKSPACE)
+ print("Analyzing the test project was successful {}.".format(str(i)))
+
# Save the run names in the configuration.
codechecker_cfg['run_names'] \
= [test_project_name + '_' + str(i) for i in range(0, 5)]
