def setUp(self): # Sun Aug 21 17:18:29 2005 timezonecheck() self.starttime = 1124659109 self.endtime = self.starttime+5.5 self.ir = wrap.InteractiveRunData(starttime = self.starttime, endtime = self.endtime, subject = 'barbaz', command = 'mpirun C badprog', success = False, path = "/user/barbaz")
def setUp(self): # Sun Aug 21 17:18:29 2005 timezonecheck() self.starttime = 1124659109 self.endtime = self.starttime+8 self.cd = wrap.CompileData(self.starttime, self.endtime, sourcefiles= [], subject = 'fifi', command = 'gcc', success = False, path = '/tmp')
def setUp(self): # Sun Aug 21 17:18:29 2005 timezonecheck() self.starttime = 1124659109 self.endtime = self.starttime+5 self.sourcefiles = ['test/testsource/syntax_error.c', 'test/testsource/outerr.c'] self.cd = wrap.CompileData(self.starttime, self.endtime, self.sourcefiles, subject = 'foobar', command = 'mpicc -o foobar test/testsource/syntax_error.c test/testsource/outerr.c', success = False, path = '/tmp')
def setUp(self): # Sat Aug 13 19:04:24 2005 timezonecheck() self.starttime = 1123974264 self.endtime = self.starttime+30 self.sourcefiles = ['test/testsource/sub/foo.c'] self.cd = wrap.CompileData(self.starttime, self.endtime, self.sourcefiles, subject = 'mike', command = 'gcc -c test/testsource/sub/foo.c', success = True, path = '/foo/bar/baz')
def setUp(self): # Sat Aug 13 19:04:24 2005 timezonecheck() self.starttime = 1123974264 self.endtime = self.starttime+30.5 self.mf = wrap.MakeData(self.starttime, self.endtime, subject = 'foofoo', command = "make", success = True, path = '/Users/lorin/dev') xml = xmlifystring(self.mf.toxml()) self.dom = minidom.parseString(xml)
def setUp(self): timezonecheck() self.starttime = 1124659109 self.endtime = self.starttime+.15 pr = wrap.ProfileRunData(starttime = self.starttime, endtime = self.endtime, subject = 'foobar', command = "pat_hwpc -f -o test/testsource/perflog aprun -n4 ./cg 1000 1000", success = True, path = '/home/resh/lorin/src', profiledata = open('test/testsource/perflog.hwpc').read()) xml = xmlifystring(pr.toxml()) dom = minidom.parseString(xml) self.job = dom.getElementsByTagName('job')[0]
def setUp(self): # Sun Aug 21 17:18:29 2005 timezonecheck() self.starttime = 1124659109 self.endtime = self.starttime+.15 br = wrap.BatchRunData(starttime = self.starttime, endtime = self.endtime, script = open('test/testsource/run.sh').read(), subject = 'foobar', command = "qsub -lnodes=2 test/testsource/run.sh", success = True, path = '/tmp') xml = xmlifystring(br.toxml()) dom = minidom.parseString(xml) self.job = dom.getElementsByTagName('job')[0]
def setUp(self): # Make sure we are running in EST otherwise the time string test will fail timezonecheck() # Sun Aug 21 17:18:29 2005 self.starttime = 1124659109 self.endtime = self.starttime+.15 self.rep = wrap.ProfilerReporterData(starttime = self.starttime, endtime = self.endtime, subject = 'lorin', command = 'gprof ./loop', success = True, path = '/foo/bar/baz', reportdata = "This <is> the report") self.xml = self.rep.toxml() self.dom = minidom.parseString(self.xml) self.repnode = self.dom.getElementsByTagName('profile_report')[0]
def setUp(self): # Sat Aug 13 19:04:24 2005 timezonecheck() self.starttime = 1123974264 self.endtime = self.starttime+30.5 self.sourcefiles = ['test/testsource/outerr.c'] self.cd = wrap.CompileData(self.starttime, self.endtime, self.sourcefiles, subject = 'borat', command = 'CC -c test/testsource/outerr.c', success = True, path = '/tmp', debugging=False) xml = xmlifystring(self.cd.toxml()) self.dom = minidom.parseString(xml) self.cnode = self.dom.getElementsByTagName('compile')[0]
def setUp(self): # Sat Aug 13 19:04:24 2005 timezonecheck() self.starttime = 1123974264 self.endtime = self.starttime + 30.5 self.sourcefiles = ["test/testsource/outerr.c"] self.cd = wrap.CompileData( self.starttime, self.endtime, self.sourcefiles, subject="borat", command="CC -c test/testsource/outerr.c", success=True, path="/tmp", debugging=True, ) xml = xmlifystring(self.cd.toxml()) self.dom = minidom.parseString(xml) self.cnode = self.dom.getElementsByTagName("compile")[0]