From e9913a11c175cadfb2c7d5c4654828d085928bac Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 5 Apr 2017 20:52:13 +0800 Subject: [PATCH] Merge branch 'test/reboot_between_unit_test_cases' into 'release/v2.0' CI: add reset between running each unit test cases Unit test is designed to detect bug **within** each test case. Therefore we'll reset between each case to provide a clean context. We will later add stress cases to run unit test cases together to detect potential bugs. See merge request !636 --- components/idf_test/unit_test/InitialConditionAll.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/idf_test/unit_test/InitialConditionAll.yml b/components/idf_test/unit_test/InitialConditionAll.yml index 382189455..48045c286 100644 --- a/components/idf_test/unit_test/InitialConditionAll.yml +++ b/components/idf_test/unit_test/InitialConditionAll.yml @@ -2935,12 +2935,18 @@ initial condition: test script: InitCondBase - check cmd set: - '' + - - FREBOOT UT1 + - [''] + - - DELAY 3 + - [''] - - UT UT1 - - [R UT1 C Tests C Failures C Ignored] force restore cmd set: - '' - - FREBOOT UT1 - [''] + - - DELAY 3 + - [''] - - UT UT1 - - [R UT1 C Tests C Failures C Ignored] initial condition detail: At UT menu page @@ -2948,6 +2954,8 @@ initial condition: - '' - - FREBOOT UT1 - [''] + - - DELAY 3 + - [''] - - UT UT1 - - [R UT1 C Tests C Failures C Ignored] restore post cmd set: