Skip to content

Commit

Permalink
Merge pull request bytecodealliance#2911 from olivierlemasle/tests
Browse files Browse the repository at this point in the history
cranelift: move wasmtests in cranelift-wasm
  • Loading branch information
cfallin authored May 18, 2021
2 parents 18c61cd + 954f7d3 commit 3308649
Show file tree
Hide file tree
Showing 54 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cranelift/wasm/tests/wasm_testsuite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use target_lexicon::triple;

#[test]
fn testsuite() {
let mut paths: Vec<_> = fs::read_dir("../wasmtests")
let mut paths: Vec<_> = fs::read_dir("./wasmtests")
.unwrap()
.map(|r| r.unwrap())
.filter(|p| {
Expand All @@ -36,7 +36,7 @@ fn testsuite() {
#[test]
fn use_fallthrough_return() {
let flags = Flags::new(settings::builder());
let path = Path::new("../wasmtests/use_fallthrough_return.wat");
let path = Path::new("./wasmtests/use_fallthrough_return.wat");
let data = read_module(&path);
handle_module(data, &flags, ReturnMode::FallthroughReturn);
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3308649

Please sign in to comment.