Lines Matching refs:package
97 def verifyStatement (package): argument
100 if package.statement != None:
101 statementPath = os.path.join(package.basePath, package.statement)
114 package.conformVersion = line.split()[1]
128 package.conformOs = line.split()[1]
140 messages.append(error(package.basePath, "Missing conformance statement file"))
144 def verifyGitStatus (package): argument
147 if len(package.gitStatus) > 0:
148 for s in package.gitStatus:
149 statusPath = os.path.join(package.basePath, s)
153 messages.append(error(package.basePath, "Working directory is not clean"))
155 messages.append(error(package.basePath, "Missing git status files"))
159 def isGitLogEmpty (package, gitLog): argument
160 logPath = os.path.join(package.basePath, gitLog)
165 def verifyGitLog (package): argument
168 if len(package.gitLog) > 0:
169 for log, path in package.gitLog:
170 if not isGitLogEmpty(package, log):
171 messages.append(warning(os.path.join(package.basePath, log), "Log is not empty"))
173 messages.append(error(package.basePath, "Missing git log files"))
177 def verifyPatches (package): argument
179 hasPatches = len(package.patches)
181 for log, path in package.gitLog:
182 logEmpty &= isGitLogEmpty(package, log)
185 messages.append(error(package.basePath, "Package includes patches but log is empty"))
187 …messages.append(error(package.basePath, "Test log is not empty but package doesn't contain patches…