def METHOD_NAME(self, context):
    self.exe_name = '{}_bench'.format(self.test)
    if self.exe_name not in self.installed:
        resource = Executable(self, self.target.abi, self.exe_name)
        host_exe = context.get_resource(resource)
        self.target.killall(self.exe_name)
        self.installed[self.exe_name] = self.target.install(host_exe)
    self.target_exe = self.installed[self.exe_name]