Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
77e7e03
Added Display Test
manasab-qli Jun 29, 2025
76ab79e
Merge branch 'qualcomm-linux:main' into main
manasab-qli Jul 1, 2025
2912327
fix(scripts): restore executable permissions removed by mistake
smuppand May 15, 2025
c814238
Added support for LAVA framework including YAML files
vnarapar May 12, 2025
f7b7c69
Replaced 'source' with '.' in all scripts for consistency
mwasilew May 13, 2025
50d59de
Modified the find command to identify the testcase
vnarapar May 12, 2025
cd02cd8
Fixed indentation in all shell scripts
mwasilew May 13, 2025
1f396e9
CPU frequency changes to support sh
mwasilew May 13, 2025
dfde6b3
Removed unwanted functions from testcases
vnarapar May 12, 2025
ce532eb
Add test script to validate USB Host mode
achauras-qcom May 15, 2025
70195df
Add documentation for Runner/../USBHost/run.sh
achauras-qcom May 16, 2025
7b04caa
Fix shellcheck warnings and errors
mwasilew May 20, 2025
2f606db
Fix remaining shellcheck warnings
mwasilew May 21, 2025
73d5d36
This commit introduces a GitHub Actions workflow that runs ShellCheck…
smuppand May 14, 2025
03c53bb
Fix KernelCI premerge test plan
mwasilew May 20, 2025
9ad3ca5
Use current directory in case suite is not installed
mwasilew May 20, 2025
ede01f3
Public CI Video Decode and Encode Shell Scripts.
abbajaj806 May 23, 2025
c5052c6
init_env, run-test.sh: improve testkit root detection and integration…
smuppand May 26, 2025
3a42595
functestlib.sh: make path resolution and init_env sourcing target-safe
smuppand May 26, 2025
00ff82e
run.sh: add robust path resolution for testkit compatibility
smuppand May 26, 2025
6846356
docs: add comprehensive contribution guide for test structure and She…
smuppand May 26, 2025
ce684f9
Fix: Ensure all run.sh files are executable
smuppand May 27, 2025
5bf2b87
Create preflight-checker-workflow.yml
smuppand May 29, 2025
8f337ed
Adding Scripts for Audio Playback and Audio Record for Public CI Test…
abbajaj806 May 13, 2025
2bf4d88
Rename KernelCI_PreMerge.yaml to qcom-next-ci-premerge.yaml and remov…
smuppand May 29, 2025
573eb69
Add KMScube & WestonSimpleEGL Test for Graphics Public CI
maheswaqcom May 28, 2025
de96587
Fix to get the overall result in LAVA
vnarapar May 30, 2025
3fd9f1a
Minor fix for KASLR
vnarapar Jun 4, 2025
c66b7b6
Removed checks for Modem PIL subsystem
vnarapar Jun 4, 2025
bd12e27
CPUFreq: Add policy-aware validation script with per-policy result tr…
smuppand Jun 3, 2025
b933525
Fix for WPSS Remoteproc test
vnarapar Jun 3, 2025
0f4e806
Added check_kernel_config in functestlib
vnarapar May 28, 2025
0106cc8
Added DCVS testcase
vnarapar May 26, 2025
8e08f20
Added Scheduler testcase
vnarapar May 26, 2025
14b507a
Modified iommu testcase and readme
vnarapar May 26, 2025
e9bf2c4
Fix minor shell checker issue
vnarapar Jun 4, 2025
6856a94
This patch removes the following test cases which are currently unsta…
smuppand Jun 4, 2025
1c605d9
CleanUp of Audio and Video Usecase
abbajaj806 Jun 4, 2025
ac2447c
Add Probe_Failure_Check test to detect driver probe issues in dmesg a…
smuppand Jun 3, 2025
1e7559b
Adding Ethernet validation test case
qcom-anilyada Jun 2, 2025
cd23776
Adding Bluetooth validation test case
qcom-anilyada Jun 2, 2025
1aed330
Adding shmbridge validation test case
qcom-anilyada Jun 2, 2025
c3bf510
ModuleValidation: Refactor IPA and RMNET tests to use shared kernel m…
smuppand Jun 5, 2025
cd4a85a
Updated the meta-qcom testplan with new tests
vnarapar Jun 6, 2025
36fd442
Public CI fast RPC Shell Scripts
abbajaj806 May 13, 2025
3c088be
tests: Mark as SKIP if dependencies are missing
smuppand Jun 11, 2025
54ce41c
Add exit codes for run.sh scripts
Sai-teja573 Jun 12, 2025
a75b8ca
ci: Add check-executable-permissions workflow to catch misconfigured …
smuppand Jun 4, 2025
8d3485b
ci: disable semgrep static analysis in workflow
smuppand Jun 17, 2025
59568ce
CI: Fix find command logic for shell script executable permission check
smuppand Jun 17, 2025
bf6911c
runner: Robustify rngtest and fix SKIP reporting in run-test.sh
smuppand Jun 17, 2025
37f04ab
rngtest: Improve robustness and ensure correct CI exit codes
smuppand Jun 17, 2025
cb2f0e9
.github: add explicit permissions to workflow for security compliance
smuppand Jun 19, 2025
474d994
Enanced qcom-next testplan and updated CPU_affinity test
vnarapar Jun 10, 2025
5a9c9fc
suites: Multimedia/Graphics/KMSCube: fix TESTNAME value
mwasilew Jun 19, 2025
d119eaa
Rewrite send-to-lava.sh from scratch and drop legacy Linaro version
smuppand Jun 20, 2025
7f95016
CI: Add GitHub Actions workflows for ShellCheck and script permission…
smuppand Jun 20, 2025
45ff407
Merge branch 'main' of https://github.com/manasab-qli/qcom-linux-test…
manasab-qli Jul 1, 2025
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# IGT Core Auth Test Script

## Overview

This script automates the validation of authentication mechanisms within the IGT Core framework. It performs a series of tests to ensure that the authentication processes are functioning correctly and securely. The script captures detailed logs and provides a summary of the test results.

## Features

- Comprehensive authentication tests
- Environment setup for required dependencies
- Detailed logging of test processes and results
- Color-coded pass/fail summaries
- Output stored in a structured results directory
- Auto-check for required libraries and dependencies
- Compatible with various Linux distributions

## Prerequisites

Ensure the following components are present in the target environment:

- Required authentication libraries and dependencies
- Write access to the filesystem (for environment setup and logging)

## Directory Structure
```bash
Runner/
├──suites/
├ ├── Multimedia/
│ ├ ├── Display/
│ ├ ├ ├── core_auth/
│ ├ ├ ├ ├ └── run.sh
├ ├ ├ ├ ├ └── Display_IGTTestValidation_Readme.md
```

## Usage

1. Copy the script to your target system and make it executable:

```bash
chmod +x run.sh
```

2. Run the script:

```bash
./run.sh
```

3. Logs and test results will be available in the `results/igt_core_auth` directory.

## Output

- **Validation Result**: Printed to console and saved in a results file with PASS/FAIL status.

## Notes

- The script does not take any arguments.
- It validates the presence of required libraries before executing tests.
- If any critical tool is missing, the script exits with an error message.

## Maintenance

- Ensure the authentication libraries remain compatible with your system.
- Update test cases as per new authentication requirements or updates in the IGT Core framework.

53 changes: 53 additions & 0 deletions Runner/suites/Multimedia/Display/core_auth/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/sh
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# Import test suite definitions
. $(pwd)/init_env
TESTNAME="core_auth"

# Import test functions
. $TOOLS/functestlib.sh

test_path=$(find_test_case_by_name "$TESTNAME")
log_info "-----------------------------------------------------------------------------------------"
log_info "-------------------Starting $TESTNAME Testcase----------------------------"


# Print the start of the test case
echo "-----------------------------------------------------------------------------------------"
echo "-------------------Starting $TESTNAME Testcase----------------------------"

# Print a message to indicate checking for dependency binary
echo "Checking if dependency binary is available"

# Set the library path for the IGT tests
if [ -d "/data/" ] && [ -d "/data/igt/lib" ]; then
# Set the LD_LIBRARY_PATH environment variable
export LD_LIBRARY_PATH=/data/igt/lib
echo "LD_LIBRARY_PATH is set to /data/igt/lib"
else
echo "Directory either /data/ or /data/igt/lib or both does not exist"
exit 1
fi

# Navigate to the directory containing the IGT tests
cd /data/igt/tests/

# Run the core_auth test and log the output to a file
./core_auth 2>&1 | tee /data/core_auth_log.txt

# Check the log file for the string "SUCCESS" to determine if the test passed
if grep -q "SUCCESS" /data/core_auth_log.txt; then
# If "SUCCESS" is found, print that the test passe
log_pass "$TESTNAME : Test Passed"
echo "$TESTNAME PASS" > $test_path/$TESTNAME.res

else
# If "SUCCESS" is not found, print that the test failed
log_pass "$TESTNAME : Test Failed"
echo "$TESTNAME FAIL" > $test_path/$TESTNAME.res
fi

# Print the completion of the test case
echo "-------------------Completed $TESTNAME Testcase----------------------------"
Loading