autotest: fixed path to SIL binary

This commit is contained in:
Andrew Tridgell 2011-11-02 09:14:10 +11:00
parent 73cc32fb0d
commit 4671da409a
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def build_SIL(atype):
def start_SIL(atype):
'''launch a SIL instance'''
ret = pexpect.spawn('tmp/%s.build/%s.elf' % (atype, atype),
ret = pexpect.spawn(reltopdir('tmp/%s.build/%s.elf' % (atype, atype)),
logfile=sys.stdout, timeout=5)
ret.expect('Waiting for connection')
return ret