Module linear_log_test

Source
Expand description

Tests the log storage interface in linear mode. For testing in circular mode, see log_test.rs.

The testing framework creates a non-circular log storage interface in flash and performs a series of writes and syncs to ensure that the non-circular log properly denies overly-large writes once it is full. For testing all of the general capabilities of the log storage interface, see log_test.rs.

To run the test, add the following line to the imix boot sequence:

    test::linear_log_test::run(mux_alarm);

and use the USER and RESET buttons to manually erase the log and reboot the imix, respectively.

Structsยง

LogTest ๐Ÿ”’

Enumsยง

TestOp ๐Ÿ”’

Constantsยง

WAIT_MS ๐Ÿ”’

Staticsยง

BUFFER ๐Ÿ”’
LINEAR_TEST_LOG
TEST_OPS ๐Ÿ”’

Functionsยง

runโš 

Type Aliasesยง

Log ๐Ÿ”’