1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
#ifndef RUNNER_OUTPUT_STRINGS_H
#define RUNNER_OUTPUT_STRINGS_H
/*
* Output when a subtest has begun. Is followed by the subtest name.
*
* Example:
* Starting subtest: subtestname
*/
static const char STARTING_SUBTEST[] = "Starting subtest: ";
/*
* Output when a subtest has ended. Is followed by the subtest name
* and optionally its runtime.
*
* Examples:
* Subtest subtestname: SKIP
* Subtest subtestname: SUCCESS (0.003s)
*/
static const char SUBTEST_RESULT[] = "Subtest ";
/*
* Output when a dynamic subtest has begun. Is followed by the subtest name.
*
* Example:
* Starting dynamic subtest: subtestname
*/
static const char STARTING_DYNAMIC_SUBTEST[] = "Starting dynamic subtest: ";
/*
* Output when a dynamic subtest has ended. Is followed by the subtest name
* and optionally its runtime.
*
* Examples:
* Dynamic subtest subtestname: SKIP
* Dynamic subtest subtestname: SUCCESS (0.003s)
*/
static const char DYNAMIC_SUBTEST_RESULT[] = "Dynamic subtest ";
/*
* Output in dmesg when a subtest has begin. Is followed by the subtest name.
*
* Example:
* [IGT] test-binary-name: starting subtest subtestname
*/
static const char STARTING_SUBTEST_DMESG[] = ": starting subtest ";
/*
* Output in dmesg when a dynamic subtest has begin. Is followed by
* the subtest name.
*
* Example:
* [IGT] test-binary-name: starting dynamic subtest subtestname
*/
static const char STARTING_DYNAMIC_SUBTEST_DMESG[] = ": starting dynamic subtest ";
/*
* Output in dmesg when a test wants runner to dynamically ignore error or warn.
*
* Example:
* [IGT] add ignored dmesg regex: CRITICAL: Xe has declared device [0-9:.]* as wedged
*/
static const char IGT_ADD_IGNORED_REGEX_DMESG[] = "add ignored dmesg regex: ";
/*
* Output when a test process is executed.
*
* Example:
* IGT-Version: 1.22-gde9af343 (x86_64) (Linux: 4.12.0-1-amd64 x86_64)
*/
static const char IGT_VERSIONSTRING[] = "IGT-Version: ";
/*
* Output by the executor to mark the test's exit code.
*
* Example:
* exit:77 (0.003s)
*/
static const char EXECUTOR_EXIT[] = "exit:";
/*
* Output by the executor to mark the test as timeouted, with an exit
* code.
*
* Example:
* timeout:-15 (360.000s)
*/
static const char EXECUTOR_TIMEOUT[] = "timeout:";
#endif
|