runtest(1)
π runtest β bestie edition π
okay so you know how i'm literally the DejaGnu test driver, right? that's me. runtest(1), General Commands Manual, from the DejaGnu family. i'm the one who decides what tests run and how they run, and i do it through Expect. no cap, i'm kind of a big deal. π
β¨ NAME β¨
runtest β the DejaGnu test driver. that's it, that's the name, she's iconic. π
πΈ SYNOPSIS πΈ
runtest [OPTION]...
yes bestie, just options. give me options and i will serve. π¦
π DESCRIPTION π
DejaGnu is a whole framework for testing programs using Expect. and runtest? that's the driver program for DejaGnu. she controls what tests to run and how to run them. main character energy fr fr. π
β¨ OPTIONS β¨
okay here's the menu, take your time, i know it's a lot:
--all,-aβ show me all the test results. by default i'm lowkey picky and only display the unexpected ones. π--build TRIPLETβ the configuration TRIPLET for the build system.--debugβ turn on Expect's internal debugging output. and where does it go? into a file calleddbg.log. cute little diary moment. π--directory DIRECTORYβ only run tests inside the specified DIRECTORY. staying in your lane, love that.--global_init NAMEβ the NAME to use for the global init file inlibdir. if you don't give this option, the default issite.exp.--helpβ prints a usage message and then dips. βοΈ--host TRIPLETβ the configuration TRIPLET for the host system.--host_board NAMEβ the host board definition to use.--ignore test1.exp test2.exp ...β do not run the tests you list here. it's giving "not invited to the party". π--local_init NAMEβ the NAME to use for the testsuite local init file, in both the current directory andobjdir. default issite.expif you don't pass this.--log_dialogβ emit Expect output to standard output. say it with your chest.--mail Β΄name1 name2 ...Β΄β electronic mail addresses that get to receive the test results. π--objdir PATHβ PATH is a directory containing compiled test code.--outdir DIRECTORYβ the name of a DIRECTORY for test log output.--rebootβ reboot the target board whenruntestinitializes (if it's supported, obviously).--srcdir PATHβ PATH is a directory containing test directories.--strace Nβ turns on Expect internal tracing to N levels deep. output gets logged to a file calleddbg.log.--target TRIPLETβ the configuration TRIPLET for the target.--target_board NAMEβ a list of target board *NAME*s to run tests on.--tool TOOLNAMEβ specify the tool to be tested. TOOLNAME controls the test suite that gets applied, plus the associated initialization module.--tool_exec PATHβ specify the PATH to the executable to test.--tool_opts OPTIONSβ additional OPTIONS to pass to the tool.-v,--verboseβ turns on more debugging output from test cases and DejaGnu utility code. use it more than once to increase output even further. stack it, bestie. π-V,--versionβ prints out the versions of DejaGnu, Expect and Tcl. three for one, slay.-x,--xmlβ generate XML output. the output file is named after the tool, with an.xmlextension.-D[number]β activate the Tcl debugger. number can be either1or0. if it's1, then the Expect shell will break when it starts to run, and the interrupt key will cause DejaGnu to drop to the debugger prompt. if it's0, DejaGnu starts as usual, butControl-Cdrops to the debugger prompt.
β οΈ heads up bestie: any file name on the command line is assumed to be a subset of the test names to run. usually these are the names of the test scripts (eg. foo.exp). π
Makefile-style variables are used to specify tool names and their flags. these and other configuration dependent values get saved in the file site.exp, which is created during configuration. πΎ
π Exit status π
0β if all tests passed, including expected failures and unsupported tests. the dream. π1β if any test failed, passed unexpectedly, or was unresolved. not the vibe. π2β if Expect encountered any error in the test scripts.
π«Ά AUTHOR π«Ά
Rob Savoye (rob@welcomehome.org)
π REPORTING BUGS π
report bugs to <bug-dejagnu@gnu.org>. they want to hear from you, fr fr.
π COPYRIGHT π
Copyright Β© 2005-2016, 2018, 2020 Free Software Foundation, Inc.
This is free software. you may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. there is NO WARRANTY, to the extent permitted by law. (yes, the caps are doing a lot of work there, and they've earned it.)
π SEE ALSO π
the full documentation for DejaGnu is maintained as a Texinfo manual. if the info program is properly installed at your site, then this command:
info dejagnu
should give you access to the complete manual. go read it, it's giving β¨knowledgeβ¨.
and that's the whole page, bestie!! this was runtest(1) from the General Commands Manual, dated 2018-12-01, and yes that's the same date stamped on the bottom of every copy of me. mwah π stay testing, stay slaying, and remember: unexpected results are only unexpected until you read the log. πβ¨π
π¦ where this page comes from
- alpine 3.22: dejagnu-doc 1.6.3-r0 Β· GPL-3.0-or-later
- alpine 3.23: dejagnu-doc 1.6.3-r0 Β· GPL-3.0-or-later
- alpine 3.24: dejagnu-doc 1.6.3-r1 Β· GPL-3.0-or-later
- arch rolling: dejagnu 1.6.3-21 Β· GPL
- centos-stream 10: dejagnu 1:1.6.3-11.el10 Β· GPLv3+
- centos-stream 9: dejagnu 1:1.6.3-2.el9 Β· GPLv3+
- debian bookworm: dejagnu 1.6.3-1 Β· GPL-3.0-only
- debian trixie: dejagnu 1.6.3-1.1 Β· GPL-3.0-only
- fedora 43: dejagnu 1:1.6.3-13.fc43 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: dejagnu 1:1.6.3-16.fc44 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: dejagnu 1:1.6.3-18.fc44 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- nixos 26.05: dejagnu 1.6.3
- nixpkgs unstable: dejagnu 1.6.3
- opensuse-leap 16.0: dejagnu 1.6.3-160000.2.2 Β· GPL-3.0-or-later
- ubuntu noble: dejagnu 1.6.3-1 Β· GPL-3.0-only
- ubuntu questing: dejagnu 1.6.3-1.1
- ubuntu resolute: dejagnu 1.6.3-2 Β· GPL-3.0-only
- ubuntu stonking: dejagnu 1.6.3-3 Β· GPL-3.0-only
- Copyright (C) 1993, 1995, 2001, 2002, 2003, 2004, 2005, 2008 2009, 2012, 2015, 2016, 2017, 2018, 2020
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms