mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
feat(rt/posix): Added FreeRTOS-Plus-POSIX message queues implementation
Note: The current mq_open() implementation is changed to match the POSIX standard.
This commit is contained in:
13
examples/system/rt_mqueue/pytest_rt_mqueue.py
Normal file
13
examples/system/rt_mqueue/pytest_rt_mqueue.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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')
|
Reference in New Issue
Block a user