Skip to content

Commit 39b7f50

Browse files
committed
i# This is a combination of 2 commits.
Add documentation for Runner/../usb_msd/run.sh Added setup information and basic requirements. This informs the tester of the hardware setup requirement before starting test. Signed-off-by: Aanchal Chaurasia <achauras@qti.qualcomm.com>
1 parent c49f37b commit 39b7f50

2 files changed

Lines changed: 71 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
```
2+
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3+
SPDX-License-Identifier: BSD-3-Clause
4+
```
5+
6+
# USB MSD Validation
7+
8+
## Overview
9+
10+
This shell script executes on the DUT (Device-Under-Test) and verifies enumeration of connected USB Mass Storage Devices (MSD).
11+
12+
---
13+
14+
## Setup
15+
16+
- Connect USB MSD peripheral(s) to USB port(s) on DUT.
17+
- Only applicable for USB ports that support Host Mode functionality.
18+
- USB MSD peripherals examples: USB flash drive, external HDD/SSD, etc.
19+
20+
---
21+
22+
## Usage
23+
### Instructions:
24+
1. **Copy the test suite to the target device** using `scp` or any preferred method.
25+
2. **Navigate to the test directory** on the target device.
26+
3. **Run the test script** using the test runner or directly.
27+
28+
---
29+
30+
### Quick Example
31+
```
32+
cd Runner
33+
./run-test.sh usb_msd
34+
```
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
```
2+
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3+
SPDX-License-Identifier: BSD-3-Clause-Clear
4+
```
5+
6+
# USB MSD Validation
7+
8+
## Overview
9+
10+
This shell script executes on the DUT (Device-Under-Test) and verifies enumeration of connected USB Mass Storage Devices (MSD).
11+
12+
---
13+
14+
## Setup
15+
16+
- Connect USB MSD peripheral(s) to USB port(s) on DUT.
17+
- Only applicable for USB ports that support Host Mode functionality.
18+
- USB MSD peripherals examples: USB flash drive, external HDD/SSD, etc.
19+
20+
---
21+
22+
## Usage
23+
### Instructions:
24+
1. **Copy the test suite to the target device** using `scp` or any preferred method.
25+
2. **Navigate to the test directory** on the target device.
26+
3. **Run the test script** using the test runner or directly.
27+
28+
---
29+
30+
### Quick Example
31+
```bash
32+
git clone <this-repo>
33+
cd <this-repo>
34+
scp -r common Runner user@target_device_ip:<path-on-device>
35+
ssh user@target_device_ip
36+
cd <path-on-device>/Runner && ./run-test.sh usb_msd
37+
```

0 commit comments

Comments
 (0)