Crinit -- Configurable Rootfs Init
regression-test.c File Reference

(2023-10-16, commit: 49337e0)

Implementation of a regression test for the order and completeness of crinit{Task,Series}CfgMap. More...

#include <string.h>
#include "common.h"
#include "confmap.h"
#include "logio.h"
#include "unit_test.h"
#include "utest-cfgmap-order.h"
Include dependency graph for regression-test.c:

Functions

void crinitCfgMapRegressionTest (void **state)
 

Detailed Description

Implementation of a regression test for the order and completeness of crinit{Task,Series}CfgMap.

Function Documentation

◆ crinitCfgMapRegressionTest()

void crinitCfgMapRegressionTest ( void **  state)

Regression test for the crinit{Task,Series}CfgMap constant arrays.

Checks that the arrays are alphabetically ordered (by its crinitConfigMapping_t::configKey field) and that both together contain all crinitConfigs_t.