diff options
author | Megan Wachs <megan@sifive.com> | 2016-08-05 14:50:14 -0700 |
---|---|---|
committer | Megan Wachs <megan@sifive.com> | 2016-08-08 11:48:02 -0700 |
commit | 8196dec66a338dcd9cfa3dd6118f440dae46ee45 (patch) | |
tree | cfded2a8e555c99eaf2f0dbf75e782eceb90a649 /debug/testlib.py | |
parent | 1d9383f6a7b1a31406dd86adc0975775eb1442a1 (diff) | |
download | riscv-tests-8196dec66a338dcd9cfa3dd6118f440dae46ee45.zip riscv-tests-8196dec66a338dcd9cfa3dd6118f440dae46ee45.tar.gz riscv-tests-8196dec66a338dcd9cfa3dd6118f440dae46ee45.tar.bz2 |
Some code cleanup
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index d6044f5..99c4a76 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -103,7 +103,6 @@ class VcsSim(object): done = True def __del__(self): - print "DELETE called for VcsSim" try: self.process.kill() self.process.wait() @@ -112,12 +111,12 @@ class VcsSim(object): class Openocd(object): - def __init__(self, cmd=None, config=None, debug=False, keepAlive=None): + def __init__(self, cmd=None, config=None, debug=False, otherProcess=None): # keep handles to other processes -- don't let them be # garbage collected yet. - self.keepAlive = keepAlive + self.otherProcess = otherProcess if cmd: cmd = shlex.split(cmd) else: |