esp-idf/examples/system/rt_mqueue/pytest_rt_mqueue.py
Jakob Hasse bddc1e95ef feat(rt/posix): Added FreeRTOS-Plus-POSIX message queues implementation
Note: The current mq_open() implementation is changed to match
      the POSIX standard.
2024-07-11 21:08:01 +02:00

14 lines
390 B
Python

# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import pytest
from pytest_embedded import Dut
@pytest.mark.supported_targets
@pytest.mark.generic
def test_rt_mqueue_example(dut: Dut) -> None:
dut.expect_exact('sending: 0')
dut.expect_exact('received: 0')
dut.expect_exact('sending: 1')
dut.expect_exact('received: 1')