Lines Matching refs:root
544 def genRunScript(self,testname,root,isRun,srcDict): argument
555 rpath=self.srcrelpath(root)
569 install_files(os.path.join(root, lfile),
574 install_files(os.path.join(root, lfile),
626 def genScriptsAndInfo(self,exfile,root,srcDict): argument
637 rpath=self.srcrelpath(root)
656 self.genRunScript(test,root,isRun,srcDict)
829 def checkOutput(self,exfile,root,srcDict): argument
834 rpath=self.srcrelpath(root)
845 fullout=os.path.join(root,output_file)
860 for root in dataDict:
861 relroot=self.srcrelpath(root)
867 for exfile in dataDict[root]:
872 for test in dataDict[root][exfile]:
879 if key not in dataDict[root][exfile][test]: continue
880 line=indent*3+key+": "+str(dataDict[root][exfile][test][key])
887 def genPetscTests(self,root,dirs,files,dataDict): argument
907 fullex=os.path.join(root,exfile)
912 self.checkOutput(exfile,root,data[exfile])
914 self.genScriptsAndInfo(exfile,root,data[exfile])
916 dataDict[root] = data
929 for root, dirs, files in os.walk(top, topdown=True):
932 if "/tests" not in root and "/tutorials" not in root: continue
933 if "dSYM" in root: continue
934 if "tutorials"+os.sep+"build" in root: continue
935 if os.path.basename(root.rstrip("/")) == 'output': continue
936 if self.verbose: print(root)
937 self.genPetscTests(root,dirs,files,dataDict)