1 #ifndef RUNNER_OUTPUT_STRINGS_H 2 #define RUNNER_OUTPUT_STRINGS_H 3 4 /* 5 * Output when a subtest has begun. Is followed by the subtest name. 6 * 7 * Example: 8 * Starting subtest: subtestname 9 */ 10 static const char STARTING_SUBTEST[] = "Starting subtest: "; 11 12 /* 13 * Output when a subtest has ended. Is followed by the subtest name 14 * and optionally its runtime. 15 * 16 * Examples: 17 * Subtest subtestname: SKIP 18 * Subtest subtestname: PASS (0.003s) 19 */ 20 static const char SUBTEST_RESULT[] = "Subtest "; 21 22 /* 23 * Output in dmesg when a subtest has begin. Is followed by the subtest name. 24 * 25 * Example: 26 * [IGT] test-binary-name: starting subtest subtestname 27 */ 28 static const char STARTING_SUBTEST_DMESG[] = ": starting subtest "; 29 30 /* 31 * Output when a test process is executed. 32 * 33 * Example: 34 * IGT-Version: 1.22-gde9af343 (x86_64) (Linux: 4.12.0-1-amd64 x86_64) 35 */ 36 static const char IGT_VERSIONSTRING[] = "IGT-Version: "; 37 38 /* 39 * Output by the executor to mark the test's exit code. 40 * 41 * Example: 42 * exit:77 (0.003s) 43 */ 44 static const char EXECUTOR_EXIT[] = "exit:"; 45 46 /* 47 * Output by the executor to mark the test as timeouted, with an exit 48 * code. 49 * 50 * Example: 51 * timeout:-15 (360.000s) 52 */ 53 static const char EXECUTOR_TIMEOUT[] = "timeout:"; 54 55 #endif 56