Skip to content
Snippets Groups Projects
Commit e79f766f authored by Christian Goetze's avatar Christian Goetze
Browse files

Tweak output of test_all_platforms.py

parent 75b2af6d
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,22 @@ ...@@ -4,10 +4,22 @@
# instead of having to figure it out by hand # instead of having to figure it out by hand
# #
from os.path import realpath, dirname, join, exists import sys
setup_path = join(dirname(realpath(__file__)), "setup-path.py") import os
if exists(setup_path): import os.path
execfile(setup_path)
root = os.path.abspath(__file__)
while root != os.path.sep:
root = os.path.dirname(root)
dir = os.path.join(root, 'indra', 'lib', 'python')
if os.path.isdir(dir):
if dir not in sys.path:
sys.path.insert(0, dir)
break
else:
print >>sys.stderr, "This script is not inside a valid installation."
sys.exit(1)
import getopt, sys, os, re, commands import getopt, sys, os, re, commands
from indra.util import llversion from indra.util import llversion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment