Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

runtest(1) [centos man page]

runtest(1)						      General Commands Manual							runtest(1)

NAME
runtest - DejaGnu test driver SYNOPSIS
runtest [OPTION]... DESCRIPTION
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. OPTIONS
--all Output all test results. By default, only unexpected results are displayed. --debug Turn on expect internal debugging output. The output is logged to a file called dbg.out. --build TRIPLET The configuration TRIPLET for the build system. --directory DIRECTORY Run only tests in the specified DIRECTORY. --help Prints out a help screen and then exits. --host TRIPLET The configuration TRIPLET for the host system. --host_board NAME The host board defintion to use. --ignore test1.exp test2.exp ... Do not run the specified tests. --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 Reboot the target board when runtest initializes (if supported). --srcdir PATH PATH is a directory containing test directories. --status Set the exit status to fail on Tcl errors. --strace N Turns on expect internal tracing to N levels deep. The output is logged to a file called dbg.out. --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. --verbose, -v Turns on more debugging output from test cases and DejaGnu utility code. Use more than once to increase output further. --version, -V Prints out the versions of DejaGnu, Expect and Tcl. --xml, -x Generate XML output. -D[number] 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 a ^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 CODES
runtest sets the exit code to 1 if any of the tests failed, or sets it to 0 if all the tests passed. AUTHOR
Rob Savoye (rob@welcomehome.org) REPORTING BUGS
Report bugs to <bug-dejagnu@gnu.org>. COPYRIGHT
Copyright (C) 2005, 2007, 2008 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. SEE ALSO
The full documentation for DejaGnu is maintained as a Docbook manual. If the info program is properly installed at your site, the command info dejagnu should give you access to the complete manual. 2008-02-25 runtest(1)

Check Out this Related Man Page

MYSQL_CLIENT_TEST(1)					       MySQL Database System					      MYSQL_CLIENT_TEST(1)

NAME
mysql_client_test - test client API mysql_client_test_embedded - test client API for embedded server SYNOPSIS
mysql_client_test [options] [test_name] ... mysql_client_test_embedded [options] [test_name] ... DESCRIPTION
The mysql_client_test program is used for testing aspects of the MySQL client API that cannot be tested using mysqltest and its test language. mysql_client_test_embedded is similar but used for testing the embedded server. Both programs are run as part of the test suite. The source code for the programs can be found in in tests/mysql_client_test.c in a source distribution. The program serves as a good source of examples illustrating how to use various features of the client API. mysql_client_test is used in a test by the same name in the main tests suite of mysql-test-run.pl but may also be run directly. Unlike the other programs listed here, it does not read an external description of what tests to run. Instead, all tests are coded into the program, which is written to cover all aspects of the C language API. mysql_client_test supports the following options: o --help, -? Display a help message and exit. o --basedir=dir_name, -b dir_name The base directory for the tests. o --count=count, -t count The number of times to execute the tests. o --database=db_name, -D db_name The database to use. o --debug[=debug_options], -#[debug_options] Write a debugging log if MySQL is built with debugging support. The default debug_options value is 'd:t:o,/tmp/mysql_client_test.trace'. o --getopt-ll-test=option, -g option Option to use for testing bugs in the getopt library. o --host=host_name, -h host_name Connect to the MySQL server on the given host. o --password[=password], -p[password] The password to use when connecting to the server. If you use the short option form (-p), you cannot have a space between the option and the password. If you omit the password value following the --password or -p option on the command line, you are prompted for one. o --port=port_num, -P port_num The TCP/IP port number to use for the connection. o --server-arg=arg, -A arg Argument to send to the embedded server. o --show-tests, -T Show all test names. o --silent, -s Be more silent. o --socket=path, -S path The socket file to use when connecting to localhost (which is the default host). o --testcase, -c The option is used when called from mysql-test-run.pl, so that mysql_client_test may optionally behave in a different way than if called manually, for example by skipping some tests. Currently, there is no difference in behavior but the option is included in order to make this possible. o --user=user_name, -u user_name The MySQL user name to use when connecting to the server. o -v dir_name, --vardir=dir_name The data directory for tests. The default is mysql-test/var. COPYRIGHT
Copyright (C) 2007, 2010, Oracle and/or its affiliates This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. AUTHOR
Sun Microsystems, Inc. (http://www.mysql.com/). MySQL 03/31/2010 MYSQL_CLIENT_TEST(1)
Man Page