From 2b19249e4aeaef60aaf3221919dde57d4c6f6687 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 6 Apr 2013 18:24:43 +1100 Subject: [PATCH] autotest: fixed autotest executable path --- Tools/autotest/pysim/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/pysim/util.py b/Tools/autotest/pysim/util.py index da5a07b5c6..9bdc33ad57 100644 --- a/Tools/autotest/pysim/util.py +++ b/Tools/autotest/pysim/util.py @@ -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