Update tests for old runtime removal

This commit is contained in:
Brandon Fish 2019-01-06 15:45:41 -06:00
parent f714049c61
commit 2f9119a7f0
65 changed files with 64 additions and 67 deletions

View File

@ -205,7 +205,7 @@ impl WastTestGenerator {
)]
use wabt::wat2wasm;
use crate::webassembly::{{instantiate, compile, ImportObject, ResultObject, Instance}};
use crate::webassembly::{{instantiate, compile, ResultObject}};
use crate::runtime::types::{{Value}};
use super::_common::{{

View File

@ -3,10 +3,8 @@ macro_rules! assert_emscripten_output {
use crate::apis::generate_emscripten_env;
use crate::common::stdio::StdioCapturer;
use crate::runtime::types::{ElementType, FuncSig, Table, Type, Value};
use crate::runtime::{Import, Imports};
use crate::webassembly::{
get_isa, instantiate, start_instance, InstanceABI, InstanceOptions,
};
use crate::runtime::{Import, Imports, InstanceABI, InstanceOptions};
use crate::webassembly::{get_isa, instantiate, start_instance};
use std::sync::Arc;
let wasm_bytes = include_bytes!($file);

View File

@ -4,6 +4,6 @@ fn test_localtime() {
"../../emtests/localtime.wasm",
"localtime",
vec![],
"../../emtests/localtime.output"
"../../emtests/localtime.out"
);
}

View File

@ -1,6 +1,5 @@
use crate::runtime::types::{ElementType, FuncSig, Table, Type, Value};
use crate::runtime::{Import, Imports, TableBacking};
use crate::webassembly::{ImportObject, ImportValue};
use std::sync::Arc;
extern "C" fn print_i32(num: i32) {

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};

View File

@ -8,7 +8,7 @@
use wabt::wat2wasm;
use crate::runtime::types::Value;
use crate::webassembly::{compile, instantiate, ImportObject, Instance, ResultObject};
use crate::webassembly::{compile, instantiate, ResultObject};
use super::_common::{spectest_importobject, NaNCheck};