]> granicus.if.org Git - esp-idf/commitdiff
test: change initial condition of unit test:
authorHe Yin Ling <heyinling@espressif.com>
Mon, 20 Nov 2017 05:32:01 +0000 (13:32 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 20 Nov 2017 09:51:27 +0000 (17:51 +0800)
now UT App will not print test menu by default. it will print a prompt
to indicate it's ready. we can check this prompt instead of delay.

components/idf_test/unit_test/InitialConditionAll.yml

index 48045c286d620fb6489869e3e87a462841e77733..6e5d898e7243f23d2ada7be9f42ee48870ba6f99 100644 (file)
@@ -2936,28 +2936,16 @@ initial condition:
 - check cmd set:
   - ''
   - - FREBOOT UT1
-    - ['']
-  - - DELAY 3
-    - ['']
-  - - UT UT1 -
-    - [R UT1 C Tests C Failures C Ignored]
+    - ['R UT1 C Press%20ENTER%20to%20see%20the%20list%20of%20tests']
   force restore cmd set:
   - ''
   - - FREBOOT UT1
-    - ['']
-  - - DELAY 3
-    - ['']
-  - - UT UT1 -
-    - [R UT1 C Tests C Failures C Ignored]
+    - ['R UT1 C Press%20ENTER%20to%20see%20the%20list%20of%20tests']
   initial condition detail: At UT menu page
   restore cmd set:
   - ''
   - - FREBOOT UT1
-    - ['']
-  - - DELAY 3
-    - ['']
-  - - UT UT1 -
-    - [R UT1 C Tests C Failures C Ignored]
+    - ['R UT1 C Press%20ENTER%20to%20see%20the%20list%20of%20tests']
   restore post cmd set:
   - ''
   - - DELAY 0.1