From b460d5804c9c6f9ee7e314f94ae9af0eab5b1883 Mon Sep 17 00:00:00 2001 From: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com> Date: Sat, 25 Oct 2025 20:47:37 -0700 Subject: [PATCH] LiveLocationKalman: skip tests on unsupported msgq (#1407) * locationd llk: skip tests on unsupported msgq * Update sunnypilot/selfdrive/locationd/tests/test_locationd.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Jason Wen Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- sunnypilot/selfdrive/locationd/tests/test_locationd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sunnypilot/selfdrive/locationd/tests/test_locationd.py b/sunnypilot/selfdrive/locationd/tests/test_locationd.py index c409f5b5a..877bc821d 100644 --- a/sunnypilot/selfdrive/locationd/tests/test_locationd.py +++ b/sunnypilot/selfdrive/locationd/tests/test_locationd.py @@ -1,4 +1,5 @@ import pytest +import platform import json import random import time @@ -12,6 +13,10 @@ from openpilot.common.transformations.coordinates import ecef2geodetic from openpilot.system.manager.process_config import managed_processes +if platform.system() == 'Darwin': + pytest.skip("Skipping locationd test on macOS due to unsupported msgq.", allow_module_level=True) + + class TestLocationdProc: LLD_MSGS = ['gpsLocationExternal', 'cameraOdometry', 'carState', 'liveCalibration', 'accelerometer', 'gyroscope', 'magnetometer']