manpagez: man pages & more
man runtest(1)
Home | html | info | man
runtest(1)                                                          runtest(1)


       runtest - DejaGnu test driver


       runtest [OPTION]...


       DejaGnu  is  a framework for testing programs using Expect.  runtest is
       the driver program for DejaGnu.  It controls what tests to run and  how
       to run them.


       --all, -a
              Output all test results. By default, only unexpected results are

       --build TRIPLET
              The configuration TRIPLET for the build system.

              Turn on Expect internal debugging output. The output  is  logged
              to a file called dbg.log.

       --directory DIRECTORY
              Run only tests in the specified DIRECTORY.

       --help Prints a usage message and then exits.

       --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 specified tests.

              Emit Expect output to standard output.

       --mail 'name1 name2 ...'
              Electronic mail addresses to receive test results.

       --name HOSTNAME
              The network HOSTNAME of the target board.

       --objdir PATH
              PATH is a directory containing compiled test code.

       --outdir DIRECTORY
              The name of a DIRECTORY for test log output.

              Reboot the target board when runtest initializes (if supported).

       --srcdir PATH
              PATH is a directory containing test directories.

       --strace N
              Turns on Expect internal tracing to N levels deep. The output is
              logged to a file called dbg.log.

       --target TRIPLET
              The configuration TRIPLET for the target.

       --target_board NAME
              A list of target board NAMEs to run tests on.

       --tool TOOLNAME
              Specify the tool to be tested.  TOOLNAME controls the test suite
              applied, and 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 util-
              ity code.  Use more than once to increase output further.

       -V, --version
              Prints out the versions of DejaGnu, Expect and Tcl.

       -x, --xml
              Generate  XML  output.   The output file is named after the tool
              with an .xml extension.

              Activate the Tcl debugger.  number can be either 1 or 0.  If  it
              is  1,  then  the Expect shell will break when it starts to run.
              The interrupt key will cause DejaGnu to  drop  to  the  debugger
              prompt. If it is 0, DejaGnu starts as usual, but Control-C drops
              to the debugger prompt.

       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 are saved in  the
       file site.exp, created during configuration.

   Exit status:
       0      if  all tests passed including expected failures and unsupported

       1      if any test failed, passed unexpectedly, or was unresolved,

       2      if Expect encountered any error in the test scripts.


       Rob Savoye (


       Report bugs to <>.


       Copyright (C) 2005-2018 Free Software Foundation, Inc.

       This is free software.  You may redistribute copies  of  it  under  the
       terms       of       the      GNU      General      Public      License
       <>.  There is NO WARRANTY,  to  the
       extent permitted by law.


       The  full  documentation for DejaGnu is maintained as a Texinfo manual.
       If the info program is properly installed at your site, the command

              info dejagnu

       should give you access to the complete manual.

                                  2018-11-28                        runtest(1)

dejagnu 1.6.2 - Generated Sun Feb 24 15:13:18 CST 2019
© 2000-2021
Individual documents may contain additional copyright information.