Unix and Linux Discussions Tagged with test |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
28 |
43,140 |
What is on Your Mind? |
|
|
|
30 |
39,948 |
What is on Your Mind? |
|
|
|
1 |
5,384 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,603 |
Shell Programming and Scripting |
|
|
|
1 |
1,565 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,931 |
Shell Programming and Scripting |
|
|
|
9 |
4,837 |
Shell Programming and Scripting |
|
|
|
17 |
5,568 |
Shell Programming and Scripting |
|
|
|
3 |
1,814 |
Shell Programming and Scripting |
|
|
|
2 |
2,555 |
Shell Programming and Scripting |
|
|
|
2 |
5,660 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,128 |
UNIX for Beginners Questions & Answers |
|
|
|
11 |
4,240 |
Shell Programming and Scripting |
|
|
|
17 |
16,193 |
Shell Programming and Scripting |
|
|
|
6 |
2,295 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,996 |
Shell Programming and Scripting |
|
|
|
3 |
2,636 |
Shell Programming and Scripting |
|
|
|
6 |
7,623 |
Shell Programming and Scripting |
|
|
|
2 |
4,986 |
Shell Programming and Scripting |
|
|
|
10 |
7,430 |
Shell Programming and Scripting |
|
|
|
8 |
5,845 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
3,405 |
IP Networking |
|
|
|
5 |
7,155 |
Shell Programming and Scripting |
|
|
|
4 |
3,161 |
Shell Programming and Scripting |
|
|
|
2 |
2,780 |
Shell Programming and Scripting |
|
|
|
2 |
31,182 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,751 |
Shell Programming and Scripting |
|
|
|
10 |
11,660 |
AIX |
|
|
|
8 |
49,542 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
27,471 |
Shell Programming and Scripting |
|
|
|
0 |
1,406 |
Software Releases - RSS News |
|
|
|
8 |
4,326 |
Shell Programming and Scripting |
|
|
|
0 |
2,963 |
What is on Your Mind? |
|
|
|
1 |
10,523 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,505 |
Shell Programming and Scripting |
|
|
|
0 |
1,325 |
Software Releases - RSS News |
|
|
|
5 |
4,574 |
Shell Programming and Scripting |
|
|
|
0 |
2,020 |
Solaris BigAdmin RSS |
|
|
|
2 |
4,852 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
1,404 |
Software Releases - RSS News |
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)