-
Notifications
You must be signed in to change notification settings - Fork 21
Added Display IGT Test #28
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
Closed
Closed
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 76ab79e
Merge branch 'qualcomm-linux:main' into main
manasab-qli 2912327
fix(scripts): restore executable permissions removed by mistake
smuppand c814238
Added support for LAVA framework including YAML files
vnarapar f7b7c69
Replaced 'source' with '.' in all scripts for consistency
mwasilew 50d59de
Modified the find command to identify the testcase
vnarapar cd02cd8
Fixed indentation in all shell scripts
mwasilew 1f396e9
CPU frequency changes to support sh
mwasilew dfde6b3
Removed unwanted functions from testcases
vnarapar ce532eb
Add test script to validate USB Host mode
achauras-qcom 70195df
Add documentation for Runner/../USBHost/run.sh
achauras-qcom 7b04caa
Fix shellcheck warnings and errors
mwasilew 2f606db
Fix remaining shellcheck warnings
mwasilew 73d5d36
This commit introduces a GitHub Actions workflow that runs ShellCheck…
smuppand 03c53bb
Fix KernelCI premerge test plan
mwasilew 9ad3ca5
Use current directory in case suite is not installed
mwasilew ede01f3
Public CI Video Decode and Encode Shell Scripts.
abbajaj806 c5052c6
init_env, run-test.sh: improve testkit root detection and integration…
smuppand 3a42595
functestlib.sh: make path resolution and init_env sourcing target-safe
smuppand 00ff82e
run.sh: add robust path resolution for testkit compatibility
smuppand 6846356
docs: add comprehensive contribution guide for test structure and She…
smuppand ce684f9
Fix: Ensure all run.sh files are executable
smuppand 5bf2b87
Create preflight-checker-workflow.yml
smuppand 8f337ed
Adding Scripts for Audio Playback and Audio Record for Public CI Test…
abbajaj806 2bf4d88
Rename KernelCI_PreMerge.yaml to qcom-next-ci-premerge.yaml and remov…
smuppand 573eb69
Add KMScube & WestonSimpleEGL Test for Graphics Public CI
maheswaqcom de96587
Fix to get the overall result in LAVA
vnarapar 3fd9f1a
Minor fix for KASLR
vnarapar c66b7b6
Removed checks for Modem PIL subsystem
vnarapar bd12e27
CPUFreq: Add policy-aware validation script with per-policy result tr…
smuppand b933525
Fix for WPSS Remoteproc test
vnarapar 0f4e806
Added check_kernel_config in functestlib
vnarapar 0106cc8
Added DCVS testcase
vnarapar 8e08f20
Added Scheduler testcase
vnarapar 14b507a
Modified iommu testcase and readme
vnarapar e9bf2c4
Fix minor shell checker issue
vnarapar 6856a94
This patch removes the following test cases which are currently unsta…
smuppand 1c605d9
CleanUp of Audio and Video Usecase
abbajaj806 ac2447c
Add Probe_Failure_Check test to detect driver probe issues in dmesg a…
smuppand 1e7559b
Adding Ethernet validation test case
qcom-anilyada cd23776
Adding Bluetooth validation test case
qcom-anilyada 1aed330
Adding shmbridge validation test case
qcom-anilyada c3bf510
ModuleValidation: Refactor IPA and RMNET tests to use shared kernel m…
smuppand cd4a85a
Updated the meta-qcom testplan with new tests
vnarapar 36fd442
Public CI fast RPC Shell Scripts
abbajaj806 3c088be
tests: Mark as SKIP if dependencies are missing
smuppand 54ce41c
Add exit codes for run.sh scripts
Sai-teja573 a75b8ca
ci: Add check-executable-permissions workflow to catch misconfigured …
smuppand 8d3485b
ci: disable semgrep static analysis in workflow
smuppand 59568ce
CI: Fix find command logic for shell script executable permission check
smuppand bf6911c
runner: Robustify rngtest and fix SKIP reporting in run-test.sh
smuppand 37f04ab
rngtest: Improve robustness and ensure correct CI exit codes
smuppand cb2f0e9
.github: add explicit permissions to workflow for security compliance
smuppand 474d994
Enanced qcom-next testplan and updated CPU_affinity test
vnarapar 5a9c9fc
suites: Multimedia/Graphics/KMSCube: fix TESTNAME value
mwasilew d119eaa
Rewrite send-to-lava.sh from scratch and drop legacy Linaro version
smuppand 7f95016
CI: Add GitHub Actions workflows for ShellCheck and script permission…
smuppand 45ff407
Merge branch 'main' of https://github.com/manasab-qli/qcom-linux-test…
manasab-qli 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
68 changes: 68 additions & 0 deletions
68
Runner/suites/Multimedia/Display/core_auth/Display_IGTTestValidation_Readme.md
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,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. | ||
|
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,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/ | ||
manasab-qli marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
# Run the core_auth test and log the output to a file | ||
./core_auth 2>&1 | tee /data/core_auth_log.txt | ||
manasab-qli marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
# Check the log file for the string "SUCCESS" to determine if the test passed | ||
if grep -q "SUCCESS" /data/core_auth_log.txt; then | ||
mwasilew marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
# 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----------------------------" |
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.
Uh oh!
There was an error while loading. Please reload this page.