[rtems-tools commit] Fix running rtems-test from inside the git clone.
Chris Johns
chrisj at rtems.org
Tue Dec 15 22:24:22 UTC 2015
Module: rtems-tools
Branch: 4.11
Commit: 3175451a890e4a775cd149e4c52bf702ecd64b9d
Changeset: http://git.rtems.org/rtems-tools/commit/?id=3175451a890e4a775cd149e4c52bf702ecd64b9d
Author: Chris Johns <chrisj at rtems.org>
Date: Wed Dec 16 08:37:10 2015 +1100
Fix running rtems-test from inside the git clone.
---
tester/rtems-test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tester/rtems-test b/tester/rtems-test
index 32ec563..f573fea 100755
--- a/tester/rtems-test
+++ b/tester/rtems-test
@@ -33,7 +33,7 @@ import sys, os
base = os.path.dirname(os.path.abspath(sys.argv[0]))
parent = os.path.dirname(base)
rtems = os.path.join(parent, 'share', 'rtems')
-sys.path = [rtems, os.path.join(rtems, 'tester')] + sys.path
+sys.path = [parent, rtems, os.path.join(rtems, 'tester')] + sys.path
try:
import rt.test
More information about the vc
mailing list