driver: rs485 test support

Adds test functionality with TEST_CASE_MULTIPLE_DEVICES() macro for RS485 test support.
This commit is contained in:
Alex Lisitsyn
2018-07-03 16:17:03 +02:00
parent 222a7118a9
commit 61bc733791
2 changed files with 28 additions and 3 deletions

View File

@@ -1267,6 +1267,31 @@ UT_008_04:
- UT_T1_LEDC
- psram
UT_009_01:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T2_RS485
UT_009_02:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T2_RS485
UT_009_03:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T2_RS485
UT_009_04:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T2_RS485
- psram
UT_010_01:
<<: *unit_test_template
tags:

View File

@@ -324,5 +324,5 @@ static void rs485_master()
* correctness of RS485 interface channel communication. It requires
* RS485 bus driver hardware to be connected to boards.
*/
TEST_CASE_MULTIPLE_DEVICES("RS485 half duplex uart multiple devices test.", "[driver][ignore]", rs485_master, rs485_slave);
TEST_CASE_MULTIPLE_DEVICES("RS485 half duplex uart multiple devices test.", "[driver_RS485][test_env=UT_T2_RS485][timeout=200]", rs485_master, rs485_slave);