Skip to content

fastcv: add cross-distro functional validation suites - #593

Merged
Bhargav-qcom (bhargav0610) merged 3 commits into
qualcomm-linux:mainfrom
smuppand:feature/fastcv-functional-tests
Sep 25, 2026
Merged

Bhargav-qcom (bhargav0610) merged 3 commits into
qualcomm-linux:mainfrom
smuppand:feature/fastcv-functional-tests

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Summary

Add portable FastCV functional validation for Yocto, Debian, Ubuntu, CentOS, and RHEL.

Changes

  • Add FastCV_Module_Functional_Validation.
    • Runs a user-provided fastcv_test binary with its matching data directory.
    • Supports configurable targets, modules, loops, profiling, and operation modes.
    • Retains per-invocation evidence.
  • Add FastCV_Simple_Deinterleave_Validation.
  • Add shared FastCV package preparation and result parsing.
  • Add package mappings:
    • Debian/Ubuntu: qcom-fastcv-binaries libfastcvopt-dev
    • CentOS/RHEL: qcom-fastcv-binaries libfastcvopt-devel
  • Keep Yocto image-managed with no package installation.
  • Configure the required Qualcomm RPM repositories for CentOS/RHEL 10.
  • Skip repository and network preparation when the complete package set is already installed.
  • Support both known fastcv_test output formats:
    • Module, FIT, and profile summary markers.
    • Function-level profile PASS records with a profile FIT summary.
  • Continue to require exit status zero and reject any function, module, profile, or FIT failure marker.
  • Reduce excessive data-file output while retaining the complete artifact.

The distro packages provide the FastCV runtime libraries but not the complete fastcv_test fixture. Users must provide the binary and its matching data directory containing FastCVTestTable.csv.

Install missing FastCV runtime packages on Debian, Ubuntu, CentOS, and RHEL while preserving the image-provided Yocto path. Configure and verify the CentOS 10 Qualcomm RPM repositories and EPEL without upgrading installed packages.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add bounded module validation for a user-provided fastcv_test fixture and exact deinterleave validation for fastcv_simple_test64. Document package recovery, fixture requirements, defaults, result policy, and retained evidence.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Some host-distribution fastcv_test builds emit function-level profiling PASS records and the final profile FIT result without the older module and plain FIT markers. Parse both supported dialects while requiring command success, positive function evidence, the profile summary, and no failure markers.

Avoid RPM repository and network preparation when the complete FastCV package set is already installed, and document the resulting behavior.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@bhargav0610
Bhargav-qcom (bhargav0610) merged commit 53216be into qualcomm-linux:main Sep 25, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants