Commit 77c69eeb authored by Jan Kiene's avatar Jan Kiene
Browse files

try print instead of logging

parent 51d33150
Loading
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ from pyaudio3dtools.audiofile import readfile
from ..cmp_pcm import cmp_pcm
from ..conftest import get_split_idx, parse_properties


def _run_cmd(cmd, test_info=None, env=None):
    """
    Helper function for running some command.
@@ -103,9 +104,10 @@ def run_isar_ext_rend_cmd(cmd, test_info=None, env=None):


def run_ivas_isar_enc_cmd(cmd, test_info=None, env=None):
    logging.info(f"\nRunning IVAS ISAR encoder command\n{' '.join(cmd)}\n")
    print(f"\nRunning IVAS ISAR encoder command\n{' '.join(cmd)}\n")
    _run_cmd(cmd, test_info=test_info, env=env)


def run_ivas_isar_dec_cmd(cmd, test_info=None, env=None):
    if BIN_SUFFIX_MERGETARGET in cmd[0]:
        logging.info(f"\nREF decoder command:\n\t{' '.join(cmd)}\n")
@@ -113,6 +115,7 @@ def run_ivas_isar_dec_cmd(cmd, test_info=None, env=None):
        logging.info(f"\nDUT decoder command:\n\t{' '.join(cmd)}\n")
    _run_cmd(cmd, test_info=test_info, env=env)


def run_isar_post_rend_cmd(cmd, test_info=None, env=None):
    logging.info(f"\nRunning ISAR post renderer command\n{' '.join(cmd)}\n")
    _run_cmd(cmd, test_info=test_info, env=env)