![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
Oyranos test suite. More...
#include <stdarg.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <errno.h>#include <math.h>#include <sys/types.h>#include <sys/stat.h>#include <time.h>#include <sys/time.h>#include <unistd.h>Macros | |
| #define | TEST_RUN(prog, text, do_it) |
| #define | OYJL_TEST_NAME argv[0] |
| #define | OYJL_TEST_MAX_COUNT 64 |
| #define | OYJL_PRINT_SUB_LENGTH "OYJL_PRINT_SUB_LENGTH" |
| #define | PRINT_SUB_BASIC(result_, ...) |
| Register status and print info of sub test. More... | |
| #define | PRINT_SUB(result_, ...) |
| #define | PRINT_SUB_INT(result_, count_, ...) |
| #define | PRINT_SUB_PROFILING(result_, integer_, duration_, term_, ...) |
| #define | OYJL_TEST_WRITE_RESULT(mem, size, hint, suffix) |
| Store test data. More... | |
Enumerations | |
| enum | oyjlTEXTMARK_e { , oyjlNO_MARK = 1, oyjlRED, oyjlGREEN, oyjlBLUE, oyjlBOLD, oyjlITALIC, oyjlUNDERLINE } |
| enum | oyjlTESTRESULT_e { oyjlTESTRESULT_SYSERROR, oyjlTESTRESULT_FAIL, oyjlTESTRESULT_XFAIL, oyjlTESTRESULT_SUCCESS, oyjlTESTRESULT_UNKNOWN } |
Functions | |
| oyjlTESTRESULT_e | oyjlTestRun (oyjlTESTRESULT_e(*test)(void), const char *test_name, int number, int count) |
| const char * | oyjlIntToString (int integer) |
| const char * | oyjlProfilingToString (int integer, double duration, const char *term) |
| const char * | oyjlPrintSub (int space, int right, const char *format,...) |
| print test results in a canonical way More... | |
| const char * | oyjlPrintSubProfiling (int space, int integer, double duration, const char *term, const char *format,...) |
| print test results with profiling in a canonical way More... | |
| oyjlTESTRESULT_e | displayFail () |
Variables | |
| int | verbose |
| print more results, when the -v argument is passed to the test program. More... | |
| FILE * | zout |
| int | oyjl_print_sub_length = 51 |
| default for printed columns More... | |
| oyjlTESTRESULT_e | oy_test_last_result = oyjlTESTRESULT_UNKNOWN |
| Result of last sub test. More... | |
| char * | oyjl_print_sub = 0 |
Oyranos test suite.
Oyranos is an open source Color Management System
Copyright (C) 2004-2023 Kai-Uwe Behrmann
| enum oyjlTEXTMARK_e |
1.8.13