[rtems-tools commit] Fix running rtems-test from inside the git clone.

Chris Johns chrisj at rtems.org
Tue Dec 15 21:52:55 UTC 2015


Module:    rtems-tools
Branch:    master
Commit:    f77586956d31c3cf0bd81fd014e78e60d362780d
Changeset: http://git.rtems.org/rtems-tools/commit/?id=f77586956d31c3cf0bd81fd014e78e60d362780d

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