TESTSOLV(1)
π TESTSOLV(1) π
okay so this is the TESTSOLV(1) page from the LIBSOLV manual, and bestie, it's short but it serves. let's go π
β¨ NAME β¨
testsolv β run a libsolv testcase through the solver π¦
πΈ SYNOPSIS πΈ
testsolv [OPTIONS] TESTCASE
π DESCRIPTION π
so like, the testsolv tools let you run a testcase, right? and a testcase can come from two places:
- you can hand-craft one yourself, if you're trying to test some specific feature π
- or it can be written by libsolv's
testcase_writefunction β¨
and the whole point? it's so useful for evaluating bug reports about the solver. like, someone files a bug, you turn it into a testcase, you run it, boom. ate. π
here's the options, one by one, no skips:
-vβ cranks the debug level of the solver up. and the way that you can pass it multiple times to keep piling on more and more debug data? iconic. specify it again and again, get more and more output, no cap π-rβ writes the output in testcase format instead of human-readable text. why do you care? because that output can then be dropped straight into the result section of the test case π and if you give the-roption twice, the output gets formatted for verbatim inclusion. two r's, different vibe, iykyk-lPKGSPEC β instead of actually running the solver, it just lists the packages in the repositories. like, just show me what's there π-sSOLUTIONSPEC β this one lives in the solver test suite, and it's for testing the calculated solutions to the problems that got encountered π§
fr fr, if you're chasing down a solver bug report, this is the tool. don't skip it.
π AUTHOR π
Michael Schroeder <mls@suse.de> β the icon, the moment, the main character π«Ά
and that's the whole page, bestie!! this was libsolv, version dated 03/25/2024, page TESTSOLV(1) β mwah, go run some testcases, you got this ππβ¨
π¦ where this page comes from
- arch rolling: libsolv 0.7.41-1 Β· BSD-3-Clause
- centos-stream 10: libsolv-tools 0.7.33-7.el10 Β· BSD-3-Clause
- debian trixie: libsolv-tools 0.7.32-1 Β· BSD-3-Clause
- fedora 43: libsolv-tools 0.7.34-5.fc43 Β· BSD-3-Clause
- fedora 43: libsolv-tools 0.7.40-1.fc43 Β· BSD-3-Clause
- fedora 44: libsolv-tools 0.7.36-2.fc44 Β· BSD-3-Clause
- fedora 44: libsolv-tools 0.7.40-1.fc44
- fedora 44: libsolv-tools 0.7.40-2.fc44
- fedora 44: libsolv-tools 0.7.41-1.fc44 Β· BSD-3-Clause
- nixos 26.05: libsolv 0.7.39
- nixpkgs unstable: libsolv 0.7.39
- opensuse-leap 16.0: libsolv-tools 0.7.40-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libsolv-tools 0.7.40-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libsolv-tools 0.7.40-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: libsolv-tools 0.7.40-160000.1.1 Β· BSD-3-Clause
- ubuntu questing: libsolv-tools 0.7.32-1
- ubuntu resolute: libsolv-tools 0.7.35-1build1 Β· BSD-3-Clause
- ubuntu stonking: libsolv-tools 0.7.39-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms