Skip to content

Commit c7acab4

Browse files
committed
Add individual test definitions
Individual test definitions are meant to be used for debugging the test scripts running in LAVA. Signed-off-by: Milosz Wasilewski <[email protected]>
1 parent 85d00ca commit c7acab4

File tree

59 files changed

+1055
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1055
-4
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
metadata:
2+
name: bt-fw-kmd-service
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "BT_FW_KMD_Service - Bluetooth FW + KMD + service + controller infra validation"
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
run:
11+
steps:
12+
- REPO_PATH=$PWD
13+
- cd Runner/suites/Connectivity/Bluetooth/BT_FW_KMD_Service/
14+
- ./run.sh || true
15+
- $REPO_PATH/Runner/utils/send-to-lava.sh BT_FW_KMD_Service.res
16+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
metadata:
2+
name: bt-on-off
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "Toggle Bluetooth on/off using qcom-linux-testkit BT_ON_FF"
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
params:
11+
BT_ADAPTER: ""
12+
13+
run:
14+
steps:
15+
- REPO_PATH=$PWD
16+
- cd Runner/suites/Connectivity/Bluetooth/BT_ON_OFF
17+
- ./run.sh --adapter "${BT_ADAPTER}" || true
18+
- $REPO_PATH/Runner/utils/send-to-lava.sh BT_ON_OFF.res
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
metadata:
2+
name: bt-scan
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "BT_SCAN – Bluetooth scanning validation (non-expect version)"
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
run:
11+
steps:
12+
- REPO_PATH=$PWD
13+
- cd Runner/suites/Connectivity/Bluetooth/BT_SCAN/
14+
- ./run.sh || true
15+
- $REPO_PATH/Runner/utils/send-to-lava.sh BT_SCAN.res
16+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
metadata:
2+
name: bt-scan-pair
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "This test automates Bluetooth scanning, pairing, and post-pair verification (via l2ping) on embedded Linux devices using BlueZ and bluetoothctl."
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
parames:
11+
# Max pairing attempts per device
12+
- PAIR_RETRIES: 3
13+
# Max scan retries per device before pairing
14+
- SCAN_ATTEMPTS: 2
15+
# Overrides direct MAC (same format as CLI argument)
16+
- BT_MAC_ENV: ""
17+
# Overrides device name
18+
- BT_NAME_ENV: ""
19+
# Comma-separated MACs or names allowed for pairing
20+
- BT_WHITELIST_ENV: ""
21+
22+
run:
23+
steps:
24+
- REPO_PATH=$PWD
25+
- cd Runner/suites/Connectivity/Bluetooth/BT_SCAN_PAIR/
26+
- ./run.sh || true
27+
- $REPO_PATH/Runner/utils/send-to-lava.sh BT_SCAN_PAIR.res
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
metadata:
2+
name: ethernet
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "This test case validates the basic functionality of the Ethernet interface (`eth0`) on the device. It checks for:
5+
- Interface presence
6+
- Interface status (UP/DOWN)
7+
- Basic connectivity via ping to `8.8.8.8`"
8+
os:
9+
- linux
10+
scope:
11+
- functional
12+
13+
params:
14+
INTERFACE: "eth0"
15+
16+
run:
17+
steps:
18+
- REPO_PATH=$PWD
19+
- cd Runner/suites/Connectivity/Ethernet/
20+
- ./run.sh "${INTERFACE}" || true
21+
- $REPO_PATH/Runner/utils/send-to-lava.sh Ethernet.res
22+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
metadata:
2+
name: wifi-dynamic-ip
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "This test validates WiFi functionality by:
5+
6+
- Connecting to an access point (AP) using either `nmcli` or `wpa_supplicant`.
7+
- Verifying IP acquisition via DHCP.
8+
- Checking internet connectivity with a `ping` test.
9+
- Handling systemd network service status.
10+
- Supporting flexible SSID/password input via arguments, environment, or file."
11+
os:
12+
- linux
13+
scope:
14+
- functional
15+
16+
params:
17+
SSID_ENV: ""
18+
PASSWORD_ENV: ""
19+
20+
run:
21+
steps:
22+
- REPO_PATH=$PWD
23+
- cd Runner/suites/Connectivity/WiFi/WiFi_Dynamic_IP
24+
- ./run.sh || true
25+
- $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_Dynamic_IP.res
26+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
metadata:
2+
name: wifi-firmware-driver
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "This test validates WiFi firmware"
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
run:
11+
steps:
12+
- REPO_PATH=$PWD
13+
- cd Runner/suites/Connectivity/WiFi/WiFi_Firmware_Driver
14+
- ./run.sh || true
15+
- $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_Firmware_Driver.res
16+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
metadata:
2+
name: wifi-manual-ip
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "This test validates WiFi functionality by:
5+
6+
- Connecting to an access point (AP) using `wpa_supplicant`.
7+
- Verifying IP acquisition via DHCP."
8+
os:
9+
- linux
10+
scope:
11+
- functional
12+
13+
params:
14+
SSID: ""
15+
PASSWORD: ""
16+
17+
run:
18+
steps:
19+
- REPO_PATH=$PWD
20+
- cd Runner/suites/Connectivity/WiFi/WiFi_Manual_IP
21+
- ./run.sh --ssid "${SSID}" --password "${PASSWORD}" || true
22+
- $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_Manual_IP.res
23+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
metadata:
2+
name: wifi-onoff
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "This test validates WiFi can be turned ON and OFF"
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
run:
11+
steps:
12+
- REPO_PATH=$PWD
13+
- cd Runner/suites/Connectivity/WiFi/WiFi_OnOff
14+
- ./run.sh || true
15+
- $REPO_PATH/Runner/utils/send-to-lava.sh WiFi_OnOff.res
16+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
metadata:
2+
name: bwmon
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "Test memory bandwidth"
5+
os:
6+
- linux
7+
scope:
8+
- functional
9+
10+
run:
11+
steps:
12+
- REPO_PATH=$PWD
13+
- cd Runner/suites/Kernel/Baseport/BWMON
14+
- ./run.sh || true
15+
- $REPO_PATH/Runner/utils/send-to-lava.sh BWMON.res
16+

0 commit comments

Comments
 (0)