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
).
To clone the repository including submodules:
git clone <repo-url>
- Run
./autogen.sh
to generate the build system. - Run
./configure
to prepare the Makefiles. - Run
make
to build the test binaries. - Run
make install
to install them (default:/usr/bin
).
To clean all build artifacts:
make distclean
Or manually remove Makefile
, configure
, autom4te.cache
, etc.
.
test-sources/
├── configure.ac
├── Makefile.am
├── README.md
├── autogen.sh
└── src/
├── self/
│ └── reboot_test.c
├── external/
│ ├── include/
│ │ └── [external headers]
│ └── lmbench/ (submodule)
│ └── src/
└── Makefile.am
- Ensure development dependencies like
autoconf
,automake
, andlibtool
are installed. - Only selected lmbench sources are compiled.
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
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
SPDX-License-Identifier: BSD-3-Clause-Clear