File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ This test case validates the system suspend/resume functionality on the target d
2424## Usage
2525Instructions:
26261 . ** Copy repo to Host Machine** : Clone or download the repository to your host machine where ADB is installed.
27- 2 . ** Connect Device** : Ensure the target device is connected via ADB and visible with ` adb devices ` .
27+ 2 . ** Connect Device** : Ensure exactly ** one ** target device is connected via ADB and visible with ` adb devices ` .
28283 . ** Run Test** : Execute the test script which will remotely control the device via ADB.
2929
3030Run the SuspendResume test using:
@@ -35,14 +35,16 @@ Run the SuspendResume test using:
3535git clone < this-repo>
3636cd < this-repo>
3737
38- # Ensure device is connected
38+ # Ensure exactly one device is connected
3939adb devices
4040
41- # Run the test
42- cd Runner/suites/Kernel/Baseport /SuspendResume
41+ # Run the test from the new location
42+ cd host-tools /SuspendResume
4343./run.sh
4444```
4545
46+ ** Note:** The test requires exactly one ADB device to be connected. If multiple devices are detected, the test will skip with an error message.
47+
4648---
4749
4850## Prerequisites
Original file line number Diff line number Diff line change 11metadata :
22 name : SuspendResume
33 format : " Lava-Test Test Definition 1.0"
4- description : " Suspend/Resume validation with kernel debug stats collection"
4+ description : " ADB-based Suspend/Resume validation with kernel debug stats collection"
55 os :
66 - linux
77 scope :
@@ -10,6 +10,6 @@ metadata:
1010run :
1111 steps :
1212 - REPO_PATH=$PWD
13- - cd Runner/suites/Kernel/Baseport /SuspendResume
13+ - cd host-tools /SuspendResume
1414 - ./run.sh || true
1515 - $REPO_PATH/Runner/utils/send-to-lava.sh SuspendResume.res || true
You can’t perform that action at this time.
0 commit comments