aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecharlesblake2017-11-15 21:21:25 +0000
committerthecharlesblake2017-11-15 21:21:25 +0000
commit8a490e71c87b26bc83302349db0ecf1d8219d973 (patch)
tree18558353b264782a691bf12268604159cb93638a
parentMerge pull request #23 from thecharlesblake/benchmark-script (diff)
downloadmetasol-8a490e71c87b26bc83302349db0ecf1d8219d973.tar.gz
metasol-8a490e71c87b26bc83302349db0ecf1d8219d973.zip

Alter benchmark.py to kill procs after each run

-rw-r--r--benchmark.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmark.py b/benchmark.py
index cc8af20..4584589 100644
--- a/benchmark.py
+++ b/benchmark.py
@@ -106,7 +106,9 @@ for rulesGen in [BlackHoleRulesGen(), SpanishPatienceRulesGen(),
except:
print("Unknown error in script")
sys.exit()
-
+
+ run("pkill solvitaire", shell=True)
+
if timeouts > timeoutsLimit:
break;