Skip to content

Commit 5798a57

Browse files
authored
Additional steps for target device setup
These scripts are crucial for the automation processes and need to be handled with care. Ensure that the target device's IP address is correctly specified and that the user has the necessary permissions to execute the scripts. Signed-off-by: Srikanth <[email protected]>
1 parent b1404aa commit 5798a57

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

README.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,31 @@ Minimal dependencies — usable even on minimal Yocto-based images.
2323
---
2424
Usage
2525

26-
Run a specific test using:
27-
```
28-
./run-test.sh <testname>
26+
Instructions
2927

30-
<testname> is the name of the script to be executed.
28+
1. Copy repo to Target Device: Use scp to transfer the scripts from the host to the target device. The scripts should be copied to the /var directory on the target device.
3129

32-
Example:
30+
2. Verify Transfer: Ensure that the repo have been successfully copied to the /var directory on the target device.
3331

34-
./run-test.sh cpufreq
35-
./run-test.sh reboot_health
32+
3. Run Scripts: Navigate to the /var directory on the target device and execute the scripts as needed.
33+
34+
Run a specific test using:
35+
---
36+
Quick Example
37+
```
38+
git clone <this-repo>
39+
cd <this-repo>
40+
scp -r common Runner user@target_device_ip:/var
41+
ssh user@target_device_ip
42+
cd /var/Runner && ./run-test.sh cpufreq
43+
```
44+
Output:
45+
```
46+
[INFO] Starting CPU frequency validation...
47+
[PASS] Core 0 validated successfully
48+
[FAIL] Core 1 failed at frequency setting...
3649
```
50+
> Note: Refer https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-254/how_to.html#use-ssh
3751
---
3852
Features
3953

@@ -85,21 +99,6 @@ Please make sure to sign your commits:
8599
```
86100
git commit -s -m "your commit message"
87101
```
88-
---
89-
Quick Example
90-
```
91-
git clone <this-repo>
92-
cd <this-repo>
93-
chmod +x run-test.sh
94-
./run-test.sh cpufreq
95-
```
96-
Output:
97-
```
98-
[INFO] Starting CPU frequency validation...
99-
[PASS] Core 0 validated successfully
100-
[FAIL] Core 1 failed at frequency setting...
101-
```
102-
---
103102

104103
Maintainers
105104

0 commit comments

Comments
 (0)