Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# 🛠️ Contributing to qcom-linux-testkit

Thank you for considering contributing to the **qcom-linux-testkit** project! Your contributions help improve the quality and functionality of our test suite. Please follow the guidelines below to ensure a smooth contribution process.
Expand Down Expand Up @@ -78,8 +77,7 @@ Runner/

```sh
#!/bin/sh
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
#Source init_env and functestlib.sh
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down Expand Up @@ -160,8 +158,7 @@ Ensure that all new files include the appropriate license header:

```sh
#!/bin/sh
# SPDX-License-Identifier: BSD-3-Clause-Clear
```
# SPDX-License-Identifier: BSD-3-Clause```

---

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.

SPDX-License-Identifier: BSD-3-Clause-Clear
SPDX-License-Identifier: BSD-3-Clause
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,4 @@ These tests can be used as CI jobs in:

```
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear
```
SPDX-License-Identifier: BSD-3-Clause```
3 changes: 1 addition & 2 deletions Runner/init_env
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Idempotency guard: only initialize ONCE per shell session
[ -n "$__INIT_ENV_LOADED" ] && return
__INIT_ENV_LOADED=1
Expand Down
3 changes: 1 addition & 2 deletions Runner/run-test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Resolve the real path of this script
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#
# SPDX-License-Identifier: BSD-3-Clause#
# BT_FW_KMD_Service - Bluetooth FW + KMD + service + controller infra validation
# Non-expect version, using lib_bluetooth.sh helpers.

Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/Bluetooth/BT_ON_OFF/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
# BT_ON_OFF - Basic Bluetooth power toggle validation (non-expect version)
# SPDX-License-Identifier: BSD-3-Clause# BT_ON_OFF - Basic Bluetooth power toggle validation (non-expect version)

# Robustly find and source init_env
SCRIPT_DIR="$(
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/Bluetooth/BT_SCAN/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
# BT_SCAN – Bluetooth scanning validation (non-expect version)
# SPDX-License-Identifier: BSD-3-Clause# BT_SCAN – Bluetooth scanning validation (non-expect version)
# ---------- Repo env + helpers ----------
SCRIPT_DIR="$(
cd "$(dirname "$0")" || exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,4 @@ When a whitelist is specified (CLI or `BT_WHITELIST_ENV`), only devices whose MA

## License

SPDX-License-Identifier: BSD-3-Clause-Clear
© Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause© Qualcomm Technologies, Inc. and/or its subsidiaries.
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/Bluetooth/BT_SCAN_PAIR/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/Ethernet/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear

SPDX-License-Identifier: BSD-3-Clause
# Ethernet Validation Test

## Overview
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/Ethernet/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear

SPDX-License-Identifier: BSD-3-Clause
# WiFi Connectivity Validation

## 📋 Overview
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/WiFi/WiFi_Dynamic_IP/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/WiFi/WiFi_Firmware_Driver/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/WiFi/WiFi_Manual_IP/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Connectivity/WiFi/WiFi_OnOff/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/BWMON/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Buses/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Robustly find and source init_env
# SPDX-License-Identifier: BSD-3-Clause# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
SEARCH="$SCRIPT_DIR"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,5 @@ Runner/suites/Kernel/FunctionalArea/baseport/CPUFreq_Validation/run.sh

## License

SPDX-License-Identifier: BSD-3-Clause-Clear
(c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause(c) Qualcomm Technologies, Inc. and/or its subsidiaries.

3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/CPUFreq_Validation/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/GIC/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/IPA/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#
# SPDX-License-Identifier: BSD-3-Clause#
# Test for IPA driver: skip if CONFIG_QCOM_IPA not enabled, then
# builtin vs module, verify /dev/ipa, functional sysfs & dmesg checks.

Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/IPCC/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Interrupts/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Kernel_Selftests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,4 @@ or from a higher-level testkit runner:

## License

SPDX-License-Identifier: BSD-3-Clause-Clear
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-ClauseCopyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Kernel_Selftests/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/MEMLAT/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/PCIe/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# PCIe Validation Test
© Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear
## Overview
SPDX-License-Identifier: BSD-3-Clause## Overview
This test case validates the PCIe interface on the target device by checking for the presence of key PCIe attributes using the `lspci -vvv` command. It ensures that the PCIe subsystem is correctly enumerated and functional
### The test checks for:
- Presence of **Device Tree Node**
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/PCIe/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ The script is tested with `shellcheck` and disables SC2039 and SC1091 where sour
## License

Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear
SPDX-License-Identifier: BSD-3-Clause
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Probe_Failure_Check/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Probe failure / deferred probe detector using kernel logs + devices_deferred
# SPDX-License-Identifier: BSD-3-Clause# Probe failure / deferred probe detector using kernel logs + devices_deferred

# ---------- Repo env + helpers ----------
SCRIPT_DIR="$(
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/RMNET/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#
# SPDX-License-Identifier: BSD-3-Clause#
# Test for RMNET driver: skip if CONFIG_RMNET not enabled, then
# builtin vs module, verify /dev/rmnet, functional sysfs & dmesg checks.

Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Reboot_health_check/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Import test suite definitions
set -x
chmod 777 -R /var/common/*
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Storage/UFS_Validation/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Storage/eMMC_Validation/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/Timer/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
# Robustly find and source init_env
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
INIT_ENV=""
Expand Down
6 changes: 2 additions & 4 deletions Runner/suites/Kernel/Baseport/USBHost/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
```
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear
```
SPDX-License-Identifier: BSD-3-Clause```

# USB Host Mode Validation

Expand All @@ -23,5 +22,4 @@ This shell script executes on the DUT (Device-Under-Test) and verifies enumerati

```
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear
```
SPDX-License-Identifier: BSD-3-Clause```
3 changes: 1 addition & 2 deletions Runner/suites/Kernel/Baseport/USBHost/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# SPDX-License-Identifier: BSD-3-Clause
#Setup requires at least one USB peripheral connected to USB port that supports Host mode function

# Robustly find and source init_env
Expand Down
Loading
Loading