def __init__(self): "test setup initialization" self.cleanup_all_files() self.create_config() self.create_files() signal.signal(signal.SIGALRM, self.alarm_handler) hatari = hconsole.Hatari(["--confirm-quit", "no"]) self.winuae = hatari.winuae hatari.kill_hatari()
def __init__(self): "test setup initialization" self.cleanup_all_files() self.create_config() self.create_files() signal.signal(signal.SIGALRM, self.alarm_handler) hatari = hconsole.Hatari(["--confirm-quit", "no"]) if not hatari.winuae: error_exit( "Hatari version available does not have WinAUE CPU core") hatari.kill_hatari()