f64a16ecaa
* Fixed SIGABRT for checkpointing change variables * Expanded the Data Recording Checkpoint test sim - Added a case for checkpointing change variables * Updated the test case for checkpointing change vars - Changed the header, input, and log files to get better data representation * Expanded the Checkpoint test sim - Added a test case covering when the only tracked variable is the change var. |
||
---|---|---|
.. | ||
models | ||
Modified_data | ||
RUN_test | ||
RUN_test1 | ||
RUN_test2 | ||
RUN_test3 | ||
RUN_test4 | ||
RUN_test5 | ||
RUN_test6 | ||
RUN_test7 | ||
RUN_test8 | ||
README.md | ||
S_define | ||
S_overrides.mk |
This test suite runs different data recording and checkpoint combinations in an effort to document and test expected behaviors.
RUN_test1 Checkpoint dumped at t=5 with data recording Run started without data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=5+
RUN_test2 Checkpoint dumped at t=5 without data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv does not exist
RUN_test3 Checkpoint dumped at t=5 with data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=5+
RUN_test4 Checkpoint dumped at t=2 with data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=2+
RUN_test5 Checkpoint dumped at t=7 with data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=7+
RUN_test6 Checkpoint dumped at t=7 with data recording group foo2 Run started with data recording group 1 Checkpoint loaded at t=5 Expected: ?
Overall: expectation is that what loads in from the checkpoint should take precedence and overwrite the file of the same name.