sbotest is a reverse dependency build tester based on the sbotools library.
This sbotools companion script is written with script maintainers in mind: Easily build and test scripts with their reverse dependencies in a single command. Maintain an archive for built dependencies and keep it up-to-date with sbotest --archive-rebuild.
sbotest is configured separately from sbotools. See the contents of /etc/sbotest, or run sbotest config and sbotest hints to set options from the command line.
See the man page for more information about options and settings!
- bin/test: Do not reuse log and test directories if called more than once in the same minute
- bin/test: Use a separate $TMP directory for each script
- bin/test: Run sbopkglint as packages are built, not at the end
- bin/test: Report failed builds with more specific error types
- Compatibility bump for new SBO::Lib::Readme user and group handling
- bin/test: Show useradd and groupadd commands as they are performed
- bin/test: Unlink outdated packages in archive unless the new build fails
- bin/test: Use the perl, python and ruby package tests in case of failure
- bin/test: Better protections for non-SBO packages
- bin/test: Exit with invalid options
- bin/wrapper: Running without options is handled better
- bin/test: Properly rationalize the queue with --archive-rebuild
- bin/test: Add --test-everything
- Thanks to dchmelik for the feedback.
- bin/test: Attempt to optimize test queues to reduce the number of package installations and removals
- Compatibility bump for new SBO::Lib::Build queue handling
- bin/test: Untargeted scripts in the queue also get a clean-build environment
- bin/test: Unlink outdated packages in the archive only once all builds succeed
- bin/test: Fix --single with already-installed scripts
- bin/test: Reflect changes in get_all_available() and use in()
- bin/test: Arrange the testing list in build order for --archive-reverse
- bin/test: Faster --dry-run
- bin/test: Cut out repetitive reverse queue calculations for archive rebuilds
- bin/test: Fix --single with already-installed packages
A SlackBuild is available at SlackBuilds.org.
To use a development version:
- Use sbotools-git-slackbuild to upgrade sbotools to version
20251212-e74bc3fat the oldest. - Clone the sbotest repository.
- Run
./tools/source_to_slackbuild.shfrom the root of the local repository. - Run the SlackBuild in
slackbuild/sbotest.
Issues and requests are welcome; if running post-release sbotest, please indicate the most recent commit with the output of:
git log | head -n 1
Jacob Pipkin, Luke Williams and Andreas Guldstrand are the original authors of sbotools.
B. Watson is the author and maintainer of sbo-maintainer-tools.
sbotest was designed and intended to be run in a build-testing environment, such as a virtual machine or a Docker image. Using sbotest on a general-purpose Slackware installation is unsupported and unadvisable.