enum trc_log_parse_state

Overview

State of the TE log parser from TRC point of view More…

#include <log_parse.h>

enum trc_log_parse_state {
    TRC_LOG_PARSE_INIT,
    TRC_LOG_PARSE_ROOT,
    TRC_LOG_PARSE_TAGS,
    TRC_LOG_PARSE_TEST,
    TRC_LOG_PARSE_META,
    TRC_LOG_PARSE_OBJECTIVE,
    TRC_LOG_PARSE_VERDICTS,
    TRC_LOG_PARSE_VERDICT,
    TRC_LOG_PARSE_ARTIFACTS,
    TRC_LOG_PARSE_ARTIFACT,
    TRC_LOG_PARSE_PARAMS,
    TRC_LOG_PARSE_LOGS,
    TRC_LOG_PARSE_SKIP,
};

Detailed Documentation

State of the TE log parser from TRC point of view

Enum Values

TRC_LOG_PARSE_INIT

Initial state

TRC_LOG_PARSE_ROOT

Root state

TRC_LOG_PARSE_TAGS

Inside log message with TRC tags list

TRC_LOG_PARSE_TEST

Inside ‘test’, ‘pkg’ or ‘session’ element

TRC_LOG_PARSE_META

Inside ‘meta’ element

TRC_LOG_PARSE_OBJECTIVE

Inside ‘objective’ element

TRC_LOG_PARSE_VERDICTS

Inside ‘verdicts’ element

TRC_LOG_PARSE_VERDICT

Inside ‘verdict’ element

TRC_LOG_PARSE_ARTIFACTS

Inside ‘artifacts’ element

TRC_LOG_PARSE_ARTIFACT

Inside ‘artifact’ element

TRC_LOG_PARSE_PARAMS

Inside ‘params’ element

TRC_LOG_PARSE_LOGS

Inside ‘logs’ element

TRC_LOG_PARSE_SKIP

Skip entire contents