Commit c6256ff7 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Replace LCG_NGT_SLT_NAME by SLOTNAME as the environment variable to

avoid clashes between simultaneous tests in different slots (SPI-918)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@20113 4525493e-7705-40b1-a816-d608a930855b
parent 42f6e264
......@@ -258,7 +258,7 @@ class TextResultStream(FileResultStream):
if "QMTEST_DISABLE_PATCH_TASK21216" not in os.environ:
self.file.write("\n")
self._DisplayHeading("ENVIRONMENT")
for env in "HOST", "CMTCONFIG", "BINARY_TAG", "LCG_NGT_SLT_NAME", "LCG_NGT_DAY_NAME", "COOL_PYCOOLTEST_SKIP_EXCEPTIONS", "COOL_PYCOOLTEST_SKIP_ROOT6927", "CORAL_SQLITE_SYNCHRONOUS_OFF" :
for env in "HOST", "CMTCONFIG", "BINARY_TAG", "SLOTNAME", "COOL_PYCOOLTEST_SKIP_EXCEPTIONS", "COOL_PYCOOLTEST_SKIP_ROOT6927", "CORAL_SQLITE_SYNCHRONOUS_OFF" :
self.file.write( "%s = %s\n" % ( env, os.environ[env] if env in os.environ else "[not set]" ) )
for env in "CORAL_AUTH_PATH", "CORAL_DBLOOKUP_PATH", "TNS_ADMIN", "COOLSYS", "CORALSYS", "ROOTSYS" :
self.file.write( "%s = %s\n" % ( env, os.path.abspath(os.environ[env]) if env in os.environ else "[not set]" ) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment