Lines Matching full:path

10 from pathlib import Path
19 sys.path.insert(0, str(Path(__file__).parent / "junit-xml"))
88 def get_source_path(self, test: str) -> Path:
89 """Compute path to test source file
95 Path: Path to source file
100 def get_run_path(self, test: str) -> Path:
101 """Compute path to built test executable file
107 Path: Path to test executable
112 def get_output_path(self, test: str, output_file: str) -> Path:
113 """Compute path to expected output file
120 Path: Path to expected output file
125 def test_failure_artifacts_path(self) -> Path:
126 """Path to test failure artifacts"""
127 return Path('build') / 'test_failure_artifacts'
375 def get_test_args(source_file: Path) -> List[TestSpec]: argument
379 source_file (Path): Path to source file
404 def diff_csv(test_csv: Path, true_csv: Path, zero_tol: float, rel_tol: float, argument
409 test_csv (Path): Path to output CSV results
410 true_csv (Path): Path to expected CSV results
481 def diff_cgns(test_cgns: Path, true_cgns: Path, cgns_tol: float) -> str: argument
485 test_cgns (Path): Path to output CGNS file
486 true_cgns (Path): Path to expected CGNS file
504 def diff_ascii(test_file: Path, true_file: Path, backend: str) -> str: argument
508 test_file (Path): Path to output ASCII file
509 true_file (Path): Path to expected ASCII file
573 def save_failure_artifact(suite_spec: SuiteSpec, file: Path) -> Path: argument
578 file (Path): Path to the file to attach
580 save_path: Path = suite_spec.test_failure_artifacts_path / file.name
591 test (str): Path to test
602 source_path: Path = suite_spec.get_source_path(test)
641 ref_csvs: List[Path] = []
642 ref_ascii: List[Path] = []
649 ref_cgns: List[Path] = []
653 ref_stdout: Path = suite_spec.get_output_path(test, test + '.out')
689 out_file = Path.cwd() / csv_name
691 # remove _{ceed_backend} from path name
708 save_path: Path = suite_spec.test_failure_artifacts_path / csv_name
716 out_file = Path.cwd() / cgn_name
718 # remove _{ceed_backend} from path name
728 save_path: Path = suite_spec.test_failure_artifacts_path / cgn_name
736 out_file = Path.cwd() / ref_name
738 # remove _{ceed_backend} from path name
747 save_path: Path = suite_spec.test_failure_artifacts_path / ref_name
827 output_file = Path('build') / (f'{test_suite.name}{batch}.junit')