Skip to content
Snippets Groups Projects
Commit 7558244a authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed resources for xroot tests (was depending on the root resource for finding the root binary)

parent b087485b
Branches
Tags
No related merge requests found
......@@ -10,6 +10,12 @@ if not os.environ.has_key('LD_LIBRARY_PATH'):
else:
os.environ[pathVar] = os.environ['XROOTSYS'] + os.sep + 'lib' + os.pathsep + os.environ[pathVar]
def rootbin(self):
if not os.environ.has_key('ROOTSYS'):
raise AssertionError("ROOTSYS environment variable is not defined nor given in test suite configuration")
return os.environ['ROOTSYS'] + os.sep + 'bin' + os.sep + 'root -b -l'
Setup.getTag_rootbin = rootbin
def xrootURL(self, nb=0):
snb = ''
if nb > 0: snb = str(nb)
......
root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment