(&mut self, tests: impl IntoIterator<Item = wasm_testsuite::data::TestFile<'a>>)
| 61 | } |
| 62 | |
| 63 | pub fn run_files<'a>(&mut self, tests: impl IntoIterator<Item = wasm_testsuite::data::TestFile<'a>>) -> Result<()> { |
| 64 | self.runner.run_files(tests.into_iter().map(|file| RunnerTestFile { |
| 65 | name: file.name().to_string(), |
| 66 | parent: file.parent().to_string(), |
| 67 | contents: file.raw(), |
| 68 | })) |
| 69 | } |
| 70 | |
| 71 | pub fn print_errors(&self) { |
| 72 | self.runner.print_errors(); |