Lines Matching refs:Path
24 from pathlib import Path
50 def __init__(self, tmp_dir: Path, target: bool, chroot, dex_location, test_name) -> None: argument
84 source = "{}:{}".format(Path(caller.filename).name, caller.lineno)
128 source = "{}:{}".format(Path(caller.filename).name, caller.lineno)
913 zip.extractall(Path(tmp_dir) / ".unzipped", members=zip_entries)
914 for entry in (Path(tmp_dir) / ".unzipped" / zip_entry).iterdir():
915 entry.rename(Path(tmp_dir) / entry.name)
935 ctx = RunTestContext(Path(tmp_dir), target_mode == "yes", chroot, DEX_LOCATION, TEST_NAME)
944 def create_runner_script() -> Path:
956 script = Path(tmp_dir) / "run.py"
963 runner = Path(tmp_dir) / "run.sh"
981 Path(test_stdout).touch()
982 Path(test_stderr).touch()
998 push_files = [Path(runner.name)]
999 push_files += list(Path(".").glob(f"{TEST_NAME}*.jar"))
1000 push_files += list(Path(".").glob(f"expected-*.txt"))
1001 push_files += [p for p in [Path("profile"), Path("res")] if p.exists()]