]> granicus.if.org Git - esp-idf/commitdiff
driver: rs485 test support
authorAlex Lisitsyn <aleks@espressif.com>
Tue, 3 Jul 2018 14:17:03 +0000 (16:17 +0200)
committerAlex Lisitsyn <aleks@espressif.com>
Wed, 17 Oct 2018 10:45:56 +0000 (12:45 +0200)
Adds test functionality with TEST_CASE_MULTIPLE_DEVICES() macro for RS485 test support.

.gitlab-ci.yml
components/driver/test/test_uart.c

index b1d4e6b1b2fbf24b37e16a86723af72ee68c4d72..4eb6c2eff6889bc2e9f824ffe90f424486030f45 100644 (file)
@@ -1043,7 +1043,7 @@ UT_001_36:
   tags:
     - ESP32_IDF
     - UT_T1_1
-
+    
 UT_002_01:
   <<: *unit_test_template
   tags:
@@ -1148,7 +1148,7 @@ UT_004_10:
   tags:
     - ESP32_IDF
     - UT_T1_1
-    - psram
+    - psram    
 
 UT_004_11:
   <<: *unit_test_template
@@ -1266,6 +1266,31 @@ UT_008_04:
     - ESP32_IDF
     - 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
index b6154b2cc8874d016c9e24c34e47bde59cc3722f..08023a030eb820e1c28d32b014848c6be908f1a8 100644 (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);