(self, node, path)
| 978 | self.driver.tear_down() |
| 979 | |
| 980 | def PreTests(self, node, path): |
| 981 | if isinstance(node, RunnableConfig): |
| 982 | node.ChangeCWD(path) |
| 983 | suite_dir = os.path.abspath(os.path.dirname(path)) |
| 984 | if node.path: |
| 985 | bench_rel = os.path.normpath(os.path.join(*node.path)) |
| 986 | bench_abs = os.path.join(suite_dir, bench_rel) |
| 987 | else: |
| 988 | bench_rel = '.' |
| 989 | bench_abs = suite_dir |
| 990 | |
| 991 | self.driver.push_executable(self.shell_dir, 'bin', node.binary) |
| 992 | if self.shell_dir_secondary: |
| 993 | self.driver.push_executable( |
| 994 | self.shell_dir_secondary, 'bin_secondary', node.binary) |
| 995 | |
| 996 | if isinstance(node, RunnableConfig): |
| 997 | self.driver.push_file(bench_abs, node.main, bench_rel) |
| 998 | for resource in node.resources: |
| 999 | if resource == '*': |
| 1000 | self.driver.push_files_rec(bench_abs, bench_rel) |
| 1001 | else: |
| 1002 | self.driver.push_file(bench_abs, resource, bench_rel) |
| 1003 | |
| 1004 | def _Run(self, runnable, count, secondary=False, post_process=True): |
| 1005 | target_dir = 'bin_secondary' if secondary else 'bin' |
nothing calls this directly
no test coverage detected