Commit 3ee6fa3f authored by Jan Kiene's avatar Jan Kiene
Browse files

Revert "try print instead of logging"

This reverts commit 77c69eeb.
parent 0fba3c39
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -67,7 +67,6 @@ 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.
@@ -104,10 +103,9 @@ def run_isar_ext_rend_cmd(cmd, test_info=None, env=None):


def run_ivas_isar_enc_cmd(cmd, test_info=None, env=None):
    print(f"\nRunning IVAS ISAR encoder command\n{' '.join(cmd)}\n")
    logging.info(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")
@@ -115,7 +113,6 @@ 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)