Lines Matching full:path
9 It relies on pdfium_test being in the PATH. To build:
81 for path in paths:
82 os.remove(path)
95 if not os.path.isfile(path1) or not os.path.isfile(path2):
96 return os.path.isfile(path1) == os.path.isfile(path2)
109 rp = os.path.normpath(os.path.relpath(dirpath, directory))
112 yield os.path.join(rp, f)
120 return d.replace(os.path.normpath(os.environ['TMPDIR']) + '/', '$TMPDIR/')
202 directory = os.path.join(tempfile.gettempdir(), 'skpdf_control_tree')
204 if os.path.isdir(directory):
225 return os.path.join(build_dir, executable)
230 os.makedirs(os.path.join(data_dir, PDF_CONFIG, source))
237 def rasterize(path):
238 ret = timeout(30, [PDFIUM_TEST, '--png', '--scale=%g' % (DPI / 72.0), path])
241 '\nTIMEOUT OR ERROR [%d] "%s"\n' % (ret, printable_path(path)))
243 assert os.path.isfile(path + '.0.png')
249 os.chdir(os.path.dirname(__file__) + '/../..')
261 def compare_identical(path):
262 cpath, epath = (os.path.join(x, path) for x in (con, exp))
279 [os.path.join(x, p) for p in differing_paths for x in [con, exp]])
297 def compare_differing_pngs(path):
298 cpath, epath = (os.path.join(x, path) for x in (con, exp))
303 scores[path] = s
321 os.makedirs(os.path.join(con, REFERENCE_BACKEND, source))
330 o.write('c="%s/";\n' % os.path.relpath(con, tmpdir))
331 o.write('e="%s/";\n' % os.path.relpath(exp, tmpdir))