autotest: fixed autotest executable path
This commit is contained in:
parent
71f6287388
commit
2b19249e4a
@ -122,7 +122,7 @@ def start_SIL(atype, valgrind=False, wipe=False, height=None):
|
||||
cmd=""
|
||||
if valgrind and os.path.exists('/usr/bin/valgrind'):
|
||||
cmd += 'valgrind -q --log-file=%s-valgrind.log ' % atype
|
||||
executable = 'tmp/%s.build/%s.elf' % (atype, atype)
|
||||
executable = reltopdir('tmp/%s.build/%s.elf' % (atype, atype))
|
||||
if not os.path.exists(executable):
|
||||
executable = '/tmp/%s.build/%s.elf' % (atype, atype)
|
||||
cmd += executable
|
||||
|
Loading…
Reference in New Issue
Block a user