Add some debugging assistance to spectest oracle
Basically just log what's happening so if you're running the fuzzer you can see what test is being run.
This commit is contained in:
@@ -393,6 +393,8 @@ pub fn make_api_calls(api: crate::generators::api::ApiCalls) {
|
|||||||
///
|
///
|
||||||
/// Ensures that spec tests pass regardless of the `Config`.
|
/// Ensures that spec tests pass regardless of the `Config`.
|
||||||
pub fn spectest(config: crate::generators::Config, test: crate::generators::SpecTest) {
|
pub fn spectest(config: crate::generators::Config, test: crate::generators::SpecTest) {
|
||||||
|
crate::init_fuzzing();
|
||||||
|
log::debug!("running {:?} with {:?}", test.file, config);
|
||||||
let store = Store::new(&Engine::new(&config.to_wasmtime()));
|
let store = Store::new(&Engine::new(&config.to_wasmtime()));
|
||||||
let mut wast_context = WastContext::new(store);
|
let mut wast_context = WastContext::new(store);
|
||||||
wast_context.register_spectest().unwrap();
|
wast_context.register_spectest().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user