Skip to content

Commit

Permalink
Enable simd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jul 30, 2020
1 parent 5e28291 commit dca70d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ fn main() -> anyhow::Result<()> {
"tests/wast/spec/proposals/multi-value",
wast_processor,
)?;
test_directory_module(
spectests,
"tests/wast/spec/proposals/simd",
wast_processor,
)?;
// test_directory_module(spectests, "tests/wast/spec/proposals/bulk-memory-operations", wast_processor)?;
Ok(())
})?;
Expand Down
3 changes: 3 additions & 0 deletions tests/compilers/wast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ pub fn run_wast(wast_path: &str, compiler: &str) -> anyhow::Result<()> {
if wast_path.contains("bulk-memory") {
features.bulk_memory(true);
}
if wast_path.contains("simd") {
features.simd(true);
}
#[cfg(feature = "test-singlepass")]
features.multi_value(false);
let compiler_config = get_compiler(true);
Expand Down
1 change: 1 addition & 0 deletions tests/ignores.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Compilers
singlepass::spec::multi_value
singlepass::spec::simd

singlepass on windows # Singlepass is not yet supported on Windows

Expand Down

0 comments on commit dca70d3

Please sign in to comment.