Lines Matching refs:pid_fn
82 self.pid_fn = None
201 if self.pid_fn:
202 with open(self.pid_fn) as pid_file:
204 os.unlink(self.pid_fn)
205 self.pid_fn = None # clear so we don't try to kill the binary twice
404 self.pid_fn = os.path.join(instance.build_dir, "renode.pid")
877 self.pid_fn = os.path.join(instance.build_dir, "qemu.pid")
919 def _thread(handler, timeout, outdir, logfile, fifo_fn, pid_fn, argument
951 if os.path.exists(pid_fn):
952 with open(pid_fn) as pid_file:
982 if pid == 0 and os.path.exists(pid_fn):
983 with open(pid_fn) as pid_file:
1053 self.pid_fn = os.path.join(sysbuild_build_dir, "qemu.pid")
1055 if os.path.exists(self.pid_fn):
1056 os.unlink(self.pid_fn)
1089 self.pid_fn, harness,
1127 if os.path.exists(self.pid_fn):
1128 with open(self.pid_fn) as pid_file:
1139 if os.path.exists(self.pid_fn):
1140 with open(self.pid_fn) as pid_file:
1142 os.unlink(self.pid_fn)
1177 self.pid_fn = os.path.join(instance.build_dir, "qemu.pid")
1234 self.pid_fn = os.path.join(sysbuild_build_dir, "qemu.pid")
1236 if os.path.exists(self.pid_fn):
1237 os.unlink(self.pid_fn)
1280 pid_fn, argument
1318 if self.pid == 0 and os.path.exists(pid_fn):
1322 open(pid_fn) as pid_file
1408 self._monitor_output(queue, self.get_test_timeout(), self.log_fn, self.pid_fn, harness,
1423 if os.path.exists(self.pid_fn):
1424 os.unlink(self.pid_fn)