From b0737f7cc0399b220d3699c8b59c38c6b4cc1cf8 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 24 Jul 2026 18:22:19 +0200 Subject: [PATCH] test: move the handshake regression in beside the rest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was written next to the loader source; the harness lives at the repo root. Not registered with ctest yet — it belongs beside pureboot.planner, which is the other test of the host tool's pure logic. Co-Authored-By: Claude Opus 4.8 (1M context) --- libavr | 2 +- {pureboot/test => test}/test_handshake.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename {pureboot/test => test}/test_handshake.py (95%) diff --git a/libavr b/libavr index b23b2c4..aa69f5a 160000 --- a/libavr +++ b/libavr @@ -1 +1 @@ -Subproject commit b23b2c4398d8e9de6bda0312f6c18559b875d99a +Subproject commit aa69f5a4a0b68c8c6ef3ccc471fe322937d9e5ff diff --git a/pureboot/test/test_handshake.py b/test/test_handshake.py similarity index 95% rename from pureboot/test/test_handshake.py rename to test/test_handshake.py index 7fdfbb3..68bdf9b 100644 --- a/pureboot/test/test_handshake.py +++ b/test/test_handshake.py @@ -8,14 +8,14 @@ this, ~60 reboots/s of UART-reset garbage in which a stray 0x2b reads as a prompt — otherwise spins the tool forever. Regression for that hang, plus a control that a well-behaved loader still connects. -Stdlib only; run with `python test/test_handshake.py`. +Stdlib only; run with `python test/test_handshake.py`. Not yet wired into ctest. """ import importlib.util import pathlib import threading import time -PB = pathlib.Path(__file__).resolve().parents[1] / "pureboot.py" +PB = pathlib.Path(__file__).resolve().parents[1] / "pureboot" / "pureboot.py" _spec = importlib.util.spec_from_file_location("pureboot", PB) pb = importlib.util.module_from_spec(_spec) _spec.loader.exec_module(pb)