Skip to content
Snippets Groups Projects
Commit 71647b64 authored by inso's avatar inso
Browse files

Fix run_tests.py on windows

parent a0ef957f
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,9 @@ finally:
os.kill(p.pid, signal.SIGINT)
time.sleep(2)
try:
os.kill(p.pid, signal.SIGKILL)
if sys.platform == "linux":
os.kill(p.pid, signal.SIGKILL)
p.kill()
print("Hard killed")
except OSError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment