Lines Matching refs:pkg
139 for pkg in self.pkg_pkgs:
140 self.sources[pkg]={}
141 self.objects[pkg]=[]
142 self.tests[pkg]={}
144 self.sources[pkg][lang]={}
145 self.sources[pkg][lang]['srcs']=[]
146 self.tests[pkg][lang]={}
300 pkg=rpath.split(os.path.sep)[0]
304 if pkg not in self.sources: return
305 self.sources[pkg][lang]['srcs'].append(relpfile)
306 self.sources[pkg][lang][relpfile] = []
311 self.sources[pkg][lang][relpfile].append(os.path.join(rpath,depObj))
316 self.objects[pkg].append(objfile)
324 pkg=rpath.split("/")[0]
328 if pkg not in self.tests: return
329 self.tests[pkg][lang][nmtest]={}
330 self.tests[pkg][lang][nmtest]['exfile']=os.path.join(rpath,exfile)
331 self.tests[pkg][lang][nmtest]['exec']=execname
332 self.tests[pkg][lang][nmtest]['argLabel']=self.getArgLabel(testDict)
862 pkg=relroot.split("/")[1]
863 if not pkg in self.sources: continue
866 for lang in LANGS: allSrcs+=self.sources[pkg][lang]['srcs']
958 for pkg in self.pkg_pkgs:
959 srcs = self.gen_pkg(pkg)
960 write('testsrcs-' + pkg, srcs)
979 def gen_pkg(self, pkg): argument
983 return self.sources[pkg]
1005 for pkg in self.pkg_pkgs:
1009 for ftest in self.tests[pkg][lang]:
1013 fd.write("test-"+pkg+"."+lang.replace('_','.')+" := "+' '.join(testdeps)+"\n")
1014 …fd.write('test-%s.%s : $(test-%s.%s)\n' % (pkg, lang.replace('_','.'), pkg, lang.replace('_','.')))
1017 for ftest in self.tests[pkg][lang]:
1026 exfile=self.tests[pkg][lang][ftest]['exfile']
1028 localexec=self.tests[pkg][lang][ftest]['exec']
1038 execname if exfile in self.sources[pkg][lang]['srcs'] else fullex)
1040 if exfile in self.sources[pkg][lang]:
1041 for dep in self.sources[pkg][lang][exfile]:
1046 fd.write(nmtest+"_ARGS := '"+self.tests[pkg][lang][ftest]['argLabel']+"'\n")