From 729b2b287343da06c9355459d7bf0e2159e74034 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 4 Jul 2025 10:35:29 -0500 Subject: [PATCH] remove debug --- esphome/core/helpers.cpp | 1 - tests/integration/conftest.py | 22 ---------------------- 2 files changed, 23 deletions(-) diff --git a/esphome/core/helpers.cpp b/esphome/core/helpers.cpp index daa03fa41d..7d9b86fccd 100644 --- a/esphome/core/helpers.cpp +++ b/esphome/core/helpers.cpp @@ -647,7 +647,6 @@ void hsv_to_rgb(int hue, float saturation, float value, float &red, float &green // System APIs #if defined(USE_ESP8266) || defined(USE_RP2040) // ESP8266 doesn't have mutexes, but that shouldn't be an issue as it's single-core and non-preemptive OS. -// RP2040 support is currently limited to single-core mode Mutex::Mutex() {} Mutex::~Mutex() {} void Mutex::lock() {} diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 56f2eb0a54..8f5f77ca52 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -474,14 +474,6 @@ async def run_binary_and_wait_for_port( if process.returncode is not None: error_msg += f"\nProcess exited with code: {process.returncode}" - # Check for common signals - if process.returncode < 0: - sig = -process.returncode - try: - sig_name = signal.Signals(sig).name - error_msg += f" (killed by signal {sig_name})" - except ValueError: - error_msg += f" (killed by signal {sig})" # Include any output collected so far if stdout_lines: @@ -509,20 +501,6 @@ async def run_binary_and_wait_for_port( if controller_transport is not None: controller_transport.close() - # Log the exit code if process already exited - if process.returncode is not None: - print(f"\nProcess exited with code: {process.returncode}", file=sys.stderr) - if process.returncode < 0: - sig = -process.returncode - try: - sig_name = signal.Signals(sig).name - print( - f"Process was killed by signal {sig_name} ({sig})", - file=sys.stderr, - ) - except ValueError: - print(f"Process was killed by signal {sig}", file=sys.stderr) - # Cleanup: terminate the process gracefully if process.returncode is None: # Send SIGINT (Ctrl+C) for graceful shutdown