Skip to content

Commit 9adb474

Browse files
committed
Modified readme and yaml files based on new path
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
1 parent b88bdbc commit 9adb474

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

host-tools/SuspendResume/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This test case validates the system suspend/resume functionality on the target d
2424
## Usage
2525
Instructions:
2626
1. **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`.
2828
3. **Run Test**: Execute the test script which will remotely control the device via ADB.
2929

3030
Run the SuspendResume test using:
@@ -35,14 +35,16 @@ Run the SuspendResume test using:
3535
git clone <this-repo>
3636
cd <this-repo>
3737

38-
# Ensure device is connected
38+
# Ensure exactly one device is connected
3939
adb 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
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
metadata:
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:
1010
run:
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

0 commit comments

Comments
 (0)