Skip to content
Snippets Groups Projects
Commit 90095dca authored by Boman Romain's avatar Boman Romain
Browse files

use new battery system with TSCs

parent 93dbf710
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,7 @@ class CompJob(ParametricJob):
now = datetime.datetime.now()
print("starting battery at %s (come back tomorrow)" % now.ctime())
os.chdir('oo_metaB/bin')
cmd="nice -%s %s battery.py -j %s -k %s >battery.log 2>&1" % \
cmd="nice -%s %s battery.py run -j %s -k %s >battery.log 2>&1" % \
(self.pars['NICE_VALUE'].val, self.pars['PYTHONEXE'].val, \
self.pars['NB_TASKS'].val, self.pars['NB_THREADS'].val)
p = subprocess.Popen(cmd, shell=True)
......@@ -270,10 +270,10 @@ class CompJob(ParametricJob):
def checkResults(self): # pars indep
os.chdir('oo_metaB/bin')
print ("diff'ing results")
cmd="%s battery.py diff" % self.pars['PYTHONEXE'].val
cmd="%s battery.py diffTSC" % self.pars['PYTHONEXE'].val
print ("checkResults: cmd = %s" % cmd)
os.system(cmd)
file='verif/%s-diffs.html' % machineid()
file='verif/%s-diffsTSC.html' % machineid()
print("verif file name = %s" % file)
#self.mailhtml(file, "html report")
self.mailHtmlAsAttachement(file, "html report")
......
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