outputDir = webpage.outputDir_ indexhtml = "%s/%s" % (webpage.templates_,templateFile) valtools.testFileType(genConfig, ".py") valtools.testFileType(simConfig, ".py") valtools.testFileType(benchmarkConfig, ".py") valtools.testFileType(macro, ".C") valtools.testFileType(indexhtml, ".html") infonotfoundhtml = "%s/%s" % (webpage.templates_,"infoNotFound.html") valtools.testFileType(infonotfoundhtml, ".html") recipeLink = valtools.processFile( recipe, webpage.outputDir_ ) genConfigLink = valtools.processFile(genConfig, webpage.outputDir_ ) simConfigLink = valtools.processFile( simConfig, webpage.outputDir_ ) benchmarkConfigLink = valtools.processFile( benchmarkConfig, webpage.outputDir_ ) macroLink = valtools.processFile(macro, webpage.outputDir_ ) rootFileLink = valtools.processFile(webpage.rootFile_, webpage.outputDir_ ) comments = webpage.options_.comments images = webpage.readCaptions('captions.txt') ifile = open( indexhtml ) indexTemplate = ifile.read() s = Template(indexTemplate) subst = s.substitute(title = title, recipe = recipe,
valtools.testFileType(indexhtml, ".html") infonotfoundhtml = "%s/%s" % (webpage.templates_,"infoNotFound.html") valtools.testFileType(infonotfoundhtml, ".html") images = webpage.readCaptions('c_captions.txt') title = webpage.benchmarkName_ benchmark1Link = benchmark1.benchmarkUrl( website ) benchmark1Name = benchmark1.fullName() benchmark2Link = benchmark2.benchmarkUrl( website ) benchmark2Name = benchmark2.fullName() macroLink = valtools.processFile( macro, webpage.outputDir_ ) macroName = os.path.basename(macro) comments = webpage.options_.comments username = os.environ['USER'] ifile = open( indexhtml ) indexTemplate = ifile.read() s = Template(indexTemplate) subst = s.substitute(title = title, benchmark1Link = benchmark1Link, benchmark1Name = benchmark1Name, benchmark2Link = benchmark2Link, benchmark2Name = benchmark2Name, macroLink = macroLink, macroName = macroName,
valtools.testFileType(indexhtml, ".html") infonotfoundhtml = "%s/%s" % (webpage.templates_, "infoNotFound.html") valtools.testFileType(infonotfoundhtml, ".html") images = webpage.readCaptions('c_captions.txt') title = webpage.benchmarkName_ benchmark1Link = benchmark1.benchmarkUrl(website) benchmark1Name = benchmark1.fullName() benchmark2Link = benchmark2.benchmarkUrl(website) benchmark2Name = benchmark2.fullName() macroLink = valtools.processFile(macro, webpage.outputDir_) macroName = os.path.basename(macro) comments = webpage.options_.comments username = os.environ['USER'] ifile = open(indexhtml) indexTemplate = ifile.read() s = Template(indexTemplate) subst = s.substitute(title=title, benchmark1Link=benchmark1Link, benchmark1Name=benchmark1Name, benchmark2Link=benchmark2Link, benchmark2Name=benchmark2Name, macroLink=macroLink, macroName=macroName,
templateFile = 'index.html' outputDir = webpage.outputDir_ indexhtml = "%s/%s" % (webpage.templates_, templateFile) valtools.testFileType(genConfig, ".py") valtools.testFileType(simConfig, ".py") valtools.testFileType(benchmarkConfig, ".py") valtools.testFileType(macro, ".C") valtools.testFileType(indexhtml, ".html") infonotfoundhtml = "%s/%s" % (webpage.templates_, "infoNotFound.html") valtools.testFileType(infonotfoundhtml, ".html") recipeLink = valtools.processFile(recipe, webpage.outputDir_) genConfigLink = valtools.processFile(genConfig, webpage.outputDir_) simConfigLink = valtools.processFile(simConfig, webpage.outputDir_) benchmarkConfigLink = valtools.processFile(benchmarkConfig, webpage.outputDir_) macroLink = valtools.processFile(macro, webpage.outputDir_) rootFileLink = valtools.processFile(webpage.rootFile_, webpage.outputDir_) comments = webpage.options_.comments images = webpage.readCaptions('captions.txt') ifile = open(indexhtml) indexTemplate = ifile.read() s = Template(indexTemplate) subst = s.substitute(title=title, recipe=recipe, recipeLink=recipeLink,