[2/2] oeqa/manual/bsp-hw.json : removal of Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test because of automated

Submitted by jay.shen.teoh@intel.com on Oct. 28, 2020, 3:40 a.m. | Patch ID: 177602

Details

Message ID 1603856427-62304-2-git-send-email-jay.shen.teoh@intel.com
State Master Next
Commit 6edf9242bc9217b33be68fcd47f03d47f5874188
Headers show

Commit Message

jay.shen.teoh@intel.com Oct. 28, 2020, 3:40 a.m.
From: Teoh Jay Shen <jay.shen.teoh@intel.com>

removing Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test as this function is now tested by rtc.py automated runtime test

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
---
 meta/lib/oeqa/manual/bsp-hw.json | 34 ----------------------------------
 1 file changed, 34 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/lib/oeqa/manual/bsp-hw.json b/meta/lib/oeqa/manual/bsp-hw.json
index 790c0c0..b50b4c2 100644
--- a/meta/lib/oeqa/manual/bsp-hw.json
+++ b/meta/lib/oeqa/manual/bsp-hw.json
@@ -817,40 +817,6 @@ 
     },
     {
         "test": {
-            "@alias": "bsps-hw.bsps-hw.Check_if_RTC_(Real_Time_Clock)_can_work_correctly",
-            "author": [
-                {
-                    "email": "yi.zhao@windriver.com",
-                    "name": "yi.zhao@windriver.com"
-                }
-            ],
-            "execution": {
-                "1": {
-                    "action": "Read time from RTC registers.  root@localhost:/root> hwclock -r  Sun Mar 22 04:05:47 1970 -0.001948 seconds ",
-                    "expected_results": "Can read and set the time from RTC.\n"
-                },
-                "2": {
-                    "action": "Set system current time  root@localhost:/root> date 062309452008 ",
-                    "expected_results": ""
-                },
-                "3": {
-                    "action": "Synchronize the system current time to RTC registers  root@localhost:/root> hwclock -w ",
-                    "expected_results": ""
-                },
-                "4": {
-                    "action": "Read time from RTC registers  root@localhost:/root> hwclock -r ",
-                    "expected_results": ""
-                },
-                "5": {
-                    "action": "Reboot target and read time from RTC again\n",
-                    "expected_results": ""
-                }
-            },
-            "summary": "Check_if_RTC_(Real_Time_Clock)_can_work_correctly"
-        }
-    },
-    {
-        "test": {
             "@alias": "bsps-hw.bsps-hw.System_can_boot_up_via_NFS",
             "author": [
                 {

Comments

Richard Purdie Oct. 28, 2020, 1:41 p.m.
On Wed, 2020-10-28 at 11:40 +0800, jay.shen.teoh@intel.com wrote:
> From: Teoh Jay Shen <jay.shen.teoh@intel.com>
> 
> removing Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test as this function is now tested by rtc.py automated runtime test
> 
> Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
> ---
>  meta/lib/oeqa/manual/bsp-hw.json | 34 ----------------------------------
>  1 file changed, 34 deletions(-)
> 
> diff --git a/meta/lib/oeqa/manual/bsp-hw.json b/meta/lib/oeqa/manual/bsp-hw.json
> index 790c0c0..b50b4c2 100644
> --- a/meta/lib/oeqa/manual/bsp-hw.json
> +++ b/meta/lib/oeqa/manual/bsp-hw.json
> @@ -817,40 +817,6 @@
>      },
>      {
>          "test": {
> -            "@alias": "bsps-hw.bsps-hw.Check_if_RTC_(Real_Time_Clock)_can_work_correctly",
> -            "author": [
> -                {
> -                    "email": "yi.zhao@windriver.com",
> -                    "name": "yi.zhao@windriver.com"
> -                }
> -            ],
> -            "execution": {
> -                "1": {
> -                    "action": "Read time from RTC registers.  root@localhost:/root> hwclock -r  Sun Mar 22 04:05:47 1970 -0.001948 seconds ",
> -                    "expected_results": "Can read and set the time from RTC.\n"
> -                },
> -                "2": {
> -                    "action": "Set system current time  root@localhost:/root> date 062309452008 ",
> -                    "expected_results": ""
> -                },
> -                "3": {
> -                    "action": "Synchronize the system current time to RTC registers  root@localhost:/root> hwclock -w ",
> -                    "expected_results": ""
> -                },
> -                "4": {
> -                    "action": "Read time from RTC registers  root@localhost:/root> hwclock -r ",
> -                    "expected_results": ""
> -                },
> -                "5": {
> -                    "action": "Reboot target and read time from RTC again\n",
> -                    "expected_results": ""
> -                }
> -            },
> -            "summary": "Check_if_RTC_(Real_Time_Clock)_can_work_correctly"
> -        }
> -    },
> -    {

The test in rtc.py does not include step 5 as there is no system reboot
to check the rtc changes took effect?

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#143852): https://lists.openembedded.org/g/openembedded-core/message/143852
Mute This Topic: https://lists.openembedded.org/mt/77855610/3617530
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-