Skip to content

smuppand/qcom-linux-testkit-sources

Repository files navigation

Test Sources Repository

This repository contains a collection of C-based test programs intended for use on embedded Linux platforms. These tests are designed to be compiled as a standalone project and are structured using GNU Autotools (autoconf, automake).

Cloning with Submodules

To clone the repository including submodules:

git clone <repo-url>

Build Instructions

  1. Run ./autogen.sh to generate the build system.
  2. Run ./configure to prepare the Makefiles.
  3. Run make to build the test binaries.
  4. Run make install to install them (default: /usr/bin).

Clean Up

To clean all build artifacts:

make distclean

Or manually remove Makefile, configure, autom4te.cache, etc.

Project Structure

.
test-sources/
├── configure.ac
├── Makefile.am
├── README.md
├── autogen.sh
└── src/
    ├── self/
    │   └── reboot_test.c
    ├── external/
    │   ├── include/
    │   │   └── [external headers]
    │   └── lmbench/ (submodule)
    │       └── src/
    └── Makefile.am

Notes

  • Ensure development dependencies like autoconf, automake, and libtool are installed.
  • Only selected lmbench sources are compiled.

Adding New Submodules

To add a new submodule:

git submodule add <external-repo-url> src/external/<name>
git commit -am "Add <name> as external test submodule"

Don't forget to update configure.ac and Makefile.am to build the submodule using AC_CONFIG_SUBDIRS

License

Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.

SPDX-License-Identifier: BSD-3-Clause-Clear

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published