-
Notifications
You must be signed in to change notification settings - Fork 30
Add individual test definitions #207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
smuppand
merged 5 commits into
qualcomm-linux:main
from
mwasilew:individual-test-definitions
Dec 9, 2025
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
2e44fdd
Add more logging when saving LAVA results
mwasilew f6521f6
KMSCube: show debug log in stdout
mwasilew 50f36e8
IPA: fail test when module is not found
mwasilew 7a30f38
RMNET: Save test result to file for LAVA logging
mwasilew 65db227
Add individual test definitions
mwasilew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
Runner/suites/Connectivity/Bluetooth/BT_FW_KMD_Service/BT_FW_KMD_Service.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: bt-fw-kmd-service | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "BT_FW_KMD_Service - Bluetooth FW + KMD + service + controller infra validation" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/Bluetooth/BT_FW_KMD_Service/ | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh BT_FW_KMD_Service.res | ||
|
|
18 changes: 18 additions & 0 deletions
18
Runner/suites/Connectivity/Bluetooth/BT_ON_OFF/BT_ON_OFF.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| metadata: | ||
| name: bt-on-off | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Toggle Bluetooth on/off using qcom-linux-testkit BT_ON_FF" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| params: | ||
| BT_ADAPTER: "" | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/Bluetooth/BT_ON_OFF | ||
| - ./run.sh --adapter "${BT_ADAPTER}" || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh BT_ON_OFF.res |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: bt-scan | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "BT_SCAN – Bluetooth scanning validation (non-expect version)" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/Bluetooth/BT_SCAN/ | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh BT_SCAN.res | ||
|
|
27 changes: 27 additions & 0 deletions
27
Runner/suites/Connectivity/Bluetooth/BT_SCAN_PAIR/BT_SCAN_PAIR.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| metadata: | ||
| name: bt-scan-pair | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "This test automates Bluetooth scanning, pairing, and post-pair verification (via l2ping) on embedded Linux devices using BlueZ and bluetoothctl." | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| params: | ||
| # Max pairing attempts per device | ||
| - PAIR_RETRIES: 3 | ||
| # Max scan retries per device before pairing | ||
| - SCAN_ATTEMPTS: 2 | ||
| # Overrides direct MAC (same format as CLI argument) | ||
| - BT_MAC_ENV: "" | ||
| # Overrides device name | ||
| - BT_NAME_ENV: "" | ||
| # Comma-separated MACs or names allowed for pairing | ||
| - BT_WHITELIST_ENV: "" | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/Bluetooth/BT_SCAN_PAIR/ | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh BT_SCAN_PAIR.res |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| metadata: | ||
| name: ethernet | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "This test case validates the basic functionality of the Ethernet interface (`eth0`) on the device. It checks for: | ||
| - Interface presence | ||
| - Interface status (UP/DOWN) | ||
| - Basic connectivity via ping to `8.8.8.8`" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| params: | ||
| INTERFACE: "eth0" | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/Ethernet/ | ||
| - ./run.sh "${INTERFACE}" || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh Ethernet.res | ||
|
|
26 changes: 26 additions & 0 deletions
26
Runner/suites/Connectivity/WiFi/WiFi_Dynamic_IP/WiFi_Dynamic_IP.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| metadata: | ||
| name: wifi-dynamic-ip | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "This test validates WiFi functionality by: | ||
| - Connecting to an access point (AP) using either `nmcli` or `wpa_supplicant`. | ||
| - Verifying IP acquisition via DHCP. | ||
| - Checking internet connectivity with a `ping` test. | ||
| - Handling systemd network service status. | ||
| - Supporting flexible SSID/password input via arguments, environment, or file." | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| params: | ||
| SSID: "" | ||
| PASSWORD: "" | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/WiFi/WiFi_Dynamic_IP | ||
| - ./run.sh --ssid "${SSID}" --password "${PASSWORD}" || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_Dynamic_IP.res | ||
|
|
16 changes: 16 additions & 0 deletions
16
Runner/suites/Connectivity/WiFi/WiFi_Firmware_Driver/WiFi_Firmware_Driver.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: wifi-firmware-driver | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "This test validates WiFi firmware" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/WiFi/WiFi_Firmware_Driver | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_Firmware_Driver.res | ||
|
|
23 changes: 23 additions & 0 deletions
23
Runner/suites/Connectivity/WiFi/WiFi_Manual_IP/WiFi_Manual_IP.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| metadata: | ||
| name: wifi-manual-ip | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "This test validates WiFi functionality by: | ||
|
|
||
| - Connecting to an access point (AP) using `wpa_supplicant`. | ||
| - Verifying IP acquisition via DHCP." | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| params: | ||
| SSID: "" | ||
| PASSWORD: "" | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/WiFi/WiFi_Manual_IP | ||
| - ./run.sh --ssid "${SSID}" --password "${PASSWORD}" || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_Manual_IP.res | ||
|
|
16 changes: 16 additions & 0 deletions
16
Runner/suites/Connectivity/WiFi/WiFi_OnOff/WiFi_OnOff.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: wifi-onoff | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "This test validates WiFi can be turned ON and OFF" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Connectivity/WiFi/WiFi_OnOff | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_OnOff.res | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: bwmon | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Test memory bandwidth" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/BWMON | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh BWMON.res | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: buses | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Test I2C busses" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/Buses | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh Buses.res | ||
|
|
17 changes: 17 additions & 0 deletions
17
Runner/suites/Kernel/Baseport/CPUFreq_Validation/CPUFreq_Validation.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| metadata: | ||
| name: cpufreq-validation | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "The test validates the CPU frequency scaling capabilities of a system using the Linux `cpufreq` subsystem. It verifies the ability to set and reflect CPU frequencies across shared policy domains (e.g., clusters of CPUs sharing frequency control)." | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/CPUFreq_Validation | ||
| - ./run.sh || true | ||
| - pwd | ||
| - ls -l | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh CPUFreq_Validation.res |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| metadata: | ||
| format: Lava-Test Test Definition 1.0 | ||
| name: gic | ||
| description: "Test GIC basic features" | ||
| maintainer: | ||
| - vnarapar@qti.qualcomm.com | ||
| os: | ||
| - openembedded | ||
| scope: | ||
| - functional | ||
| devices: | ||
| - rb3gen2 | ||
|
|
||
| run: | ||
| steps: | ||
| - cd Runner | ||
| - $PWD/suites/Kernel/Baseport/GIC/run.sh || true | ||
| - $PWD/utils/send-to-lava.sh $PWD/suites/Kernel/Baseport/GIC/GIC.res || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: ipa | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Test basic IPA features" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/IPA | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh IPA.res || true | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: ipcc | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Test basic IPCC features" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/IPCC | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh IPCC.res || true | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| metadata: | ||
| format: Lava-Test Test Definition 1.0 | ||
| name: interrupts | ||
| description: "Test basic CPU interrupts features" | ||
| maintainer: | ||
| - vnarapar@qti.qualcomm.com | ||
| os: | ||
| - openembedded | ||
| scope: | ||
| - functional | ||
| devices: | ||
| - rb3gen2 | ||
|
|
||
| run: | ||
| steps: | ||
| - cd Runner | ||
| - $PWD/suites/Kernel/Baseport/Interrupts/run.sh || true | ||
| - $PWD/utils/send-to-lava.sh $PWD/suites/Kernel/Baseport/Interrupts/Interrupts.res || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| metadata: | ||
| name: memlat | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Test memory latency" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/MEMLAT | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh MEMLAT.res || true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| metadata: | ||
| name: pcio | ||
| format: "Lava-Test Test Definition 1.0" | ||
| description: "Test basic PCIe features" | ||
| os: | ||
| - linux | ||
| scope: | ||
| - functional | ||
|
|
||
| run: | ||
| steps: | ||
| - REPO_PATH=$PWD | ||
| - cd Runner/suites/Kernel/Baseport/PCIe | ||
| - ./run.sh || true | ||
| - $REPO_PATH/Runner/utils/send-to-lava.sh PCIe.res || true | ||
|
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possible for us to keep multiple lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean to reformat subshell?