Test: Set deterministic RTC
Vicki Pfau vi@endrift.com
Mon, 13 Jul 2020 16:55:12 -0700
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/platform/test/cinema-main.c
→
src/platform/test/cinema-main.c
@@ -572,6 +572,8 @@ CInemaConfigGetUInt(configTree, test->name, "fail", &fail);
CInemaConfigLoad(configTree, test->name, core); core->loadROM(core, rom); + core->rtc.override = RTC_FAKE_EPOCH; + core->rtc.value = 1200000000; core->reset(core); test->status = CI_PASS;