diff --git a/tests/frame_step_check.c b/tests/frame_step_check.c index 3277bc63..e4df12f7 100644 --- a/tests/frame_step_check.c +++ b/tests/frame_step_check.c @@ -30,6 +30,7 @@ void rt_log(const char *fmt, ...) { (void)fmt; } double gfx_window_refresh_hz(void) { return 144; } int ov_movie_live(void) { return 0; } int vk_fg_generating(void) { return 0; } +float dbg_speed_factor(void) { return 1.0f; } // the debug menu's game speed: normal int vk_fg_active(void) { return 0; } int vk_fg_wanted(void) { return 0; } static int fg_mult = 1; // frames on screen per game frame diff --git a/tests/launcher_test.py b/tests/launcher_test.py index db89fcac..1a329bba 100644 --- a/tests/launcher_test.py +++ b/tests/launcher_test.py @@ -4803,7 +4803,7 @@ class WindowTest(Tmp): r = subprocess.run([sys.executable, '-m', 'launcher', '--root', str(self.tmp / 'w'), '--selftest'], cwd=ROOT, capture_output=True, text=True, timeout=180) self.assertEqual(r.returncode, 0, r.stderr) - self.assertIn('15 screens drawn', r.stdout) + self.assertIn('16 screens drawn', r.stdout) if __name__ == '__main__': diff --git a/tests/mouse_direct_check.py b/tests/mouse_direct_check.py index a88ad809..ecb4e82c 100644 --- a/tests/mouse_direct_check.py +++ b/tests/mouse_direct_check.py @@ -310,6 +310,7 @@ int input_menu_gate(int *h,int open,uint64_t *b,int32_t s[4]) { (void)h;(void)op int input_overlay_gate(int *h,uint64_t *b) { (void)h;(void)b;abort(); } int menu_is_open(void) { abort(); } void menu_toggle(void) { abort(); } +void perf_segment(const char *name) { (void)name; } // a script line's mark: no perf trace here void menu_perf_cycle(void) { abort(); } const char *input_action_name(int action) { (void)action;abort(); } void input_map_configure(void) { abort(); } diff --git a/tests/save_share_check.c b/tests/save_share_check.c index cffa307a..7528a098 100644 --- a/tests/save_share_check.c +++ b/tests/save_share_check.c @@ -61,7 +61,6 @@ NEVER(mem_thaw) NEVER(romfs_close) NEVER(romfs_entry) NEVER(romfs_entry_type) NE NEVER(romfs_handle) NEVER(romfs_image_path) NEVER(romfs_list) NEVER(romfs_open) NEVER(romfs_overlay) NEVER(romfs_overlay_count) NEVER(romfs_read) NEVER(romfs_size) NEVER(rt_call) NEVER(perf_size) // fs_host_sizes: only the perf trace's size lines call it -int mem_probing(void) { return 0; } // the write-back probe is off int romfs_owns(const char *path) { (void)path; return 0; } int mem_probing(void) { return 0; } // write_file asks before each write: no probe, no lazy heap here void mem_kernel_access(uint64_t a, uint64_t n) { (void)a, (void)n; }