Commit 8d4bc482 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[tests] always log executed command

parent b2c2e450
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
   the United Nations Convention on Contracts on the International Sales of Goods.
"""

import logging
import subprocess as sp
import sys
from pathlib import Path
@@ -49,6 +50,7 @@ def test_info(request):


def run_cmd(cmd):
    logging.info(f"\nRunning command\n{' '.join(cmd)}\n")
    try:
        sp.run(cmd, check=True, capture_output=True, text=True)
    except sp.CalledProcessError as e: