1: #line 4 "./lpsrc/flx_perf.pak"
2: class PLUGIN(Plugin):
3: def __init__(self):
4: Plugin.__init__(self, "speed", "Run comparative tests")
5:
6: def run(self,x):
7: print x
8: flush()
9: result = os.system(ENV+x)
10: if result: print " .. ERROR CODE",hex(result)
11: flush()
12:
13: if result:
14: raise MakeError
15:
16:
17: def runme(self):
18: runISCR(FLX_LPARCHIVE+os.sep+'lpsrc/flx_perf.pak')
19: self.run("python speed/measure.py")
20: self.run("python speed/panal.py")
21: self.run("gnuplot speed/mkjpgs.gpl")
22: runISCR('--inhibit-sref=1 --language=en --weaver=web --passes=2 '+
23: '--weaver-directory=speed/ '+FLX_LPARCHIVE+os.sep+'lpsrc/flx_perf.pak')
24: filecopy2dir(os.path.join('misc', 'interscript.css'),"speed")
25: