Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gnatpython-mainloop(1) [debian man page]

gnatpython-mainloop(1)					    Generic loop for testsuites 				    gnatpython-mainloop(1)

NAME
gnatpython-mainloop - command line interface for testsuite mainloop (in the ACATS/Fixed bugs style) SYNOPSIS
gnatpython-mainloop [options] test_list_file command_pattern DESCRIPTION
gnatpython-mainloop program use the MainLoop package which provides a class called MainLoop that provides a generic implementation of a testsuite main loop. Parallelism, abortion and time control are the key features. Each MainLoop instance controls a set of Workers whose number is set by the user. The list of tasks/tests to be achieved by the workers, is provided by a list. The mainloop distribute the elements to the the workers when they have nothing to do. Usually, an element is a string identifying the test to be run. An element can also be a list in that case the worker will execute sequentially each "subelement". This case is used to address dependency between tests (occurs for example with the ACATS). When a worker is asked to run a test, the command is executed by calling run_testcase (testid). Once a test is finished the function col- lect_result will be called with test id, and process (a gnatpython.ex.Run object) and the job_info as parameters. Both run_testcase and collect_result are user defined functions. Note also that from the user point view there is no parallelism to handle. The two user defined function run_testcase and collect_result are called sequentially. Note that this main page is written using comments from the code by the package maintainer. OPTIONS
Options are not documented. SEE ALSO
gnatpython-rlimit gnatpython-opt-parser November 7, 2011 gnatpython-mainloop(1)

Check Out this Related Man Page

wibble-test-genrunner(1)				      General Commands Manual					  wibble-test-genrunner(1)

NAME
wibble-test-genrunner - Code generator for wibble testsuites. SYNOPSIS
wibble-test-genrunner header <file> wibble-test-genrunner main <files> DESCRIPTION
The program generates .cpp files that are then compiled and linked into a test program for running tests from .test.h files. Examples of such .test.h files may be found among wibble headers, eg. /usr/include/wibble/regexp.test.h. In the first form, the program processes a single header file (usually of the form foo.test.h) and produces a corresponding .cpp file to be compiled. In the second form, it takes as <files> all the .test.h headers and produces a single main.cpp which contains the main() function of the test program, which then runs all the tests in all the .test.h files. The generated source code is always written to standard output and it is left up to the user to redirect it to a meaningful location. The program currently has no options other than the two forms above. The program is intended to be run as part of build process of programs or libraries using the wibble testing framework. For convenient use from CMake, there is a test.cmake script under /usr/share/wibble, that takes care of producing all the .cpp files (both per-header and the main one), compiling them and linking them into a single binary which executes the testsuite. AUTHOR
Petr Rockai <me@mornfall.net> wibble-test-genrunner(1)
Man Page