OPENSCAD-TESTRUN(1)
πΈ NAME πΈ
openscad-testrun β bestie, this is the girl that sets up and runs the OpenSCAD test suite π
(It lives in the General Commands Manual, section 1, if you were wondering where we're at π)
β¨ SYNOPSIS β¨
openscad-testrun [options]
π¦ DESCRIPTION π¦
Okay so real talk, this manual page is the quick little rundown of the openscad-testrun command. No cap.
Here's the tea: openscad-testrun is a script that sets up a directory β a whole lil home π β where the OpenSCAD test suite (which is implemented in ctest, fyi) can actually be run. How does it do that? By creating symlinks to the system locations of the input data. Then it runs the suite. Periodt.
Important: the created directory is not removed. She stays. And she'll contain the test results in addition to all those symlinks. So don't be surprised when you go looking and there's extra stuff in there π
Why does this script even need to exist? Great question bestie π«Ά Because the test suite in its original form expects all the test input and output data to be in relative locations, and the typical user has no write access to where that data actually lives. So yeah, she's a workaround and she knows it π
And lowkey? Future changes to the test suite might make it more flexible, which would remove the need for this script entirely. So this whole vibe might be temporary. We'll see π€·
π OPTIONS π
-ddirectory,--directorydirectory β Set up the tests in a directory called directory. By default, this name gets generated from the current date and time, likeopenscad-test-2012-02-15_13_37. Iconic auto-naming honestly β¨-jN,--parallelN β Run N test jobs in parallel. You can also set this in theCTEST_PARALLEL_LEVELenvironment variable if that's more your thing. The default is to run as many jobs as there are available processing units, as returned bynproc(1). Let her cook π₯-n,--dry-runβ Do not run the test suite, just set it up. It's giving "window shopping" ποΈ--virtualβ Usexvfb-runto execute the tests inside a virtual X server. Very main character, very "I have my own little world" energy π
All additional arguments are passed on to ctest. So whatever else you throw at her, she hands straight over to ctest. No gatekeeping π
π AUTHOR π
The OpenSCAD test suite was written by Clifford Wolf, Marius Kintel, and others. The openscad-testrun script was written by chrysn. Shoutout to the whole squad, fr fr π
This manual page was written by chrysn <chrysn@fsfe.org>, for the Debian project (and may be used by others). Love that for us π«Ά
And that's a wrap, bestie β this page is from 2012-02-16, and yeah, she's an OPENSCAD-TESTRUN(1) girlie from the General Commands Manual. Old but still slaying πβ¨
π¦ where this page comes from
- debian bookworm: openscad-testing 2021.01-6 Β· GPL-2.0-or-later WITH CGAL exception
- debian trixie: openscad-testing 2021.01-8 Β· GPL-2.0-or-later WITH CGAL exception
- ubuntu jammy: openscad-testing 2021.01-4build1 Β· GPL-2.0-or-later WITH CGAL exception
- ubuntu noble: openscad-testing 2021.01-6build4 Β· GPL-2.0-or-later WITH CGAL exception
- ubuntu questing: openscad-testing 2021.01-9
- ubuntu resolute: openscad-testing 2021.01-11 Β· GPL-2.0-or-later WITH CGAL exception
- ubuntu stonking: openscad-testing 2021.01-14 Β· GPL-2.0-or-later WITH CGAL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms