Skip to content
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local_path_override(

git_override(
module_name = "pigweed",
commit = "7882c537d21171b0e9641a132842a373382a78c3", # roll:pigweed
commit = "417e988c5550fc383be5048955efd49698a0833b", # roll:pigweed
patch_args = ["-p1"],
patches = [
# Allow integration_tests to build for armv7-m / armv7e-m so the
Expand Down
53 changes: 30 additions & 23 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions target/ast10x0/harness/qemu_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import argparse
import logging
import os
import subprocess
import sys
import tempfile
Expand Down Expand Up @@ -60,7 +61,7 @@ def _parse_args():
default=30,
help="Seconds to wait for a test result sentinel (0 = no timeout, default: 30)",
)
return parser.parse_args()
return parser.parse_known_args()


def _detokenizer(image: Path, tokenized_file: Path, qemu_finished: threading.Event):
Expand Down Expand Up @@ -189,4 +190,10 @@ def _main(args) -> None:


if __name__ == "__main__":
_main(_parse_args())
known_args, remaining_args = _parse_args()
if os.environ.get("PW_RUNNER_PASSTHROUGH") == "1":
_LOG.info("Bypassing QEMU: %s", known_args.image)
res = subprocess.run([known_args.image] + remaining_args)
sys.exit(res.returncode)

_main(known_args)