Test packages in Buildroot
Test packages in Buildroot When writing packages for Buildroot there are several conditions that you have to test your package against.
This includes different toolchains, architectures, C-libraries, thread-implementations and more. To help you with that, Buildroot provides the utils/test-pkg script.
Nothing describes the script better than its own help text [1]:
test-pkg: test-build a package against various toolchains and architectures The supplied config snippet is appended to each toolchain config, the resulting configuration is checked to ensure it still contains all options specified in the snippet; if any is missing, the build is skipped, on the assumption that the package under test requires a toolchain or architecture feature that is missing.
Posted by Marcus Folkesson on Tuesday, November 28, 2023