Skip to content

Commit

Permalink
output full executed make command
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Jun 17, 2024
1 parent 8048dd7 commit d29edf5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/tests
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ def base_run(bin, force_qemu, verbose):
if force_qemu or (platform.system() == "Linux" and platform.machine() == "x86_64"):
logging.debug(f"Emulating {bin} with QEMU")

args = ["make", "CROSS_PREFIX=aarch64-none-linux-gnu-", f"{bin}"],
logging.info(' '.join(args))

p = subprocess.run(
["make", "CROSS_PREFIX=aarch64-none-linux-gnu-", f"{bin}"],
args,
stdout=subprocess.DEVNULL if not verbose else None,

This comment has been minimized.

Copy link
@hanno-becker

hanno-becker Jun 17, 2024

Contributor

Is verbose set in the CI?

)
if p.returncode != 0:
Expand All @@ -46,10 +49,14 @@ def base_run(bin, force_qemu, verbose):
else:
logging.debug(f"Running {bin} natively")

args = ["make", f"{bin}"]
logging.info(' '.join(args))

p = subprocess.run(
["make", f"{bin}"],
args,
stdout=subprocess.DEVNULL if not verbose else None,
)

if p.returncode != 0:
logging.error("make failed")
sys.exit(1)
Expand Down

0 comments on commit d29edf5

Please sign in to comment.