Skip to content

Add print commands from run #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions testgres/plugins/pg_probackup2/pg_probackup2/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import contextlib
import importlib
import json
import logging
import os
import re
import subprocess
Expand Down Expand Up @@ -101,6 +102,7 @@ def run(self, command, gdb=False, old_binary=False, return_id=True, env=None,
print(self.test_class.cmd)

cmdline = [binary_path, *command]
logging.info(' '.join(cmdline))
if gdb is True:
# general test flow for using GDBObj
return GDBobj(cmdline, self.test_class)
Expand Down