MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / push_test

Method push_test

cranelift/filetests/src/runner.rs:110–115  ·  view source on GitHub ↗

Add a test to be executed later. Any problems reading `file` as a test case file will be reported as a test failure.

(&mut self, file: P)

Source from the content-addressed store, hash-verified

108 ///
109 /// Any problems reading `file` as a test case file will be reported as a test failure.
110 pub fn push_test<P: Into<PathBuf>>(&mut self, file: P) {
111 self.tests.push(QueueEntry {
112 path: file.into(),
113 state: State::New,
114 });
115 }
116
117 /// Begin running tests concurrently.
118 pub fn start_threads(&mut self) {

Callers 3

runFunction · 0.80
run_passesFunction · 0.80
scan_dirsMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected