Home
last modified time | relevance | path

Searched refs:cache_file (Results 1 – 5 of 5) sorted by relevance

/trunk/test/aoo-test/src/aootest/
H A Dinstall.py298 def find_uno_python(layout, explicit=None, cache_file=None, environ=None, which=shutil.which, linke… argument
302 if cache_file and Path(cache_file).is_file():
304 cache = json.loads(Path(cache_file).read_text())
317 if cache_file:
320 Path(cache_file).parent.mkdir(parents=True, exist_ok=True)
321 Path(cache_file).write_text(json.dumps(cache))
/trunk/test/aoo-test/tests/harness/
H A Dtest_install.py210 assert find(cache_file=cache).path == sys.executable and len(asked) == 1
211 again = find(cache_file=cache)
214 find(cache_file=cache)
217 …assert find(cache_file=cache).path == sys.executable # a damaged cache is ig…
223 find(cache_file=cache)
225 …assert find(cache_file=cache, explicit="/other/python").path == "/other/python" and len(asked) == …
H A Dtest_real_install.py46 py = install.find_uno_python(layout, cache_file=tmp_path / "uno.json")
/trunk/main/libxmlsec/
H A Dxmlsec1-configure.patch129 if test -r "$cache_file"; then
132 - if test -f "$cache_file"; then
135 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
137 $as_echo "$as_me: loading cache $cache_file" >&6;}
138 case $cache_file in
/trunk/test/aoo-test/
H A Dconftest.py71 … cache_file=tmp_path_factory.getbasetemp() / "uno-python.json")