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 🔒