Browse Source

Merge pull request #2911 from olivierlemasle/tests

cranelift: move wasmtests in cranelift-wasm
pull/2912/head
Chris Fallin 4 years ago
committed by GitHub
parent
commit
33086493dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cranelift/wasm/tests/wasm_testsuite.rs
  2. 0
      cranelift/wasm/wasmtests/arith.wat
  3. 0
      cranelift/wasm/wasmtests/br_table.wat
  4. 0
      cranelift/wasm/wasmtests/call-simd.wat
  5. 0
      cranelift/wasm/wasmtests/call.wat
  6. 0
      cranelift/wasm/wasmtests/embenchen_fannkuch.wat
  7. 0
      cranelift/wasm/wasmtests/embenchen_fasta.wat
  8. 0
      cranelift/wasm/wasmtests/embenchen_ifs.wat
  9. 0
      cranelift/wasm/wasmtests/embenchen_primes.wat
  10. 0
      cranelift/wasm/wasmtests/fac-multi-value.wat
  11. 0
      cranelift/wasm/wasmtests/fibonacci.wat
  12. 0
      cranelift/wasm/wasmtests/globals.wat
  13. 0
      cranelift/wasm/wasmtests/icall-simd.wat
  14. 0
      cranelift/wasm/wasmtests/icall.wat
  15. 0
      cranelift/wasm/wasmtests/if-reachability-translation-0.wat
  16. 0
      cranelift/wasm/wasmtests/if-reachability-translation-1.wat
  17. 0
      cranelift/wasm/wasmtests/if-reachability-translation-2.wat
  18. 0
      cranelift/wasm/wasmtests/if-reachability-translation-3.wat
  19. 0
      cranelift/wasm/wasmtests/if-reachability-translation-4.wat
  20. 0
      cranelift/wasm/wasmtests/if-reachability-translation-5.wat
  21. 0
      cranelift/wasm/wasmtests/if-reachability-translation-6.wat
  22. 0
      cranelift/wasm/wasmtests/if-unreachable-else-params-2.wat
  23. 0
      cranelift/wasm/wasmtests/if-unreachable-else-params.wat
  24. 0
      cranelift/wasm/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm
  25. 0
      cranelift/wasm/wasmtests/memory.wat
  26. 0
      cranelift/wasm/wasmtests/multi-0.wat
  27. 0
      cranelift/wasm/wasmtests/multi-1.wat
  28. 0
      cranelift/wasm/wasmtests/multi-10.wat
  29. 0
      cranelift/wasm/wasmtests/multi-11.wat
  30. 0
      cranelift/wasm/wasmtests/multi-12.wat
  31. 0
      cranelift/wasm/wasmtests/multi-13.wat
  32. 0
      cranelift/wasm/wasmtests/multi-14.wat
  33. 0
      cranelift/wasm/wasmtests/multi-15.wat
  34. 0
      cranelift/wasm/wasmtests/multi-16.wat
  35. 0
      cranelift/wasm/wasmtests/multi-17.wat
  36. 0
      cranelift/wasm/wasmtests/multi-2.wat
  37. 0
      cranelift/wasm/wasmtests/multi-3.wat
  38. 0
      cranelift/wasm/wasmtests/multi-4.wat
  39. 0
      cranelift/wasm/wasmtests/multi-5.wat
  40. 0
      cranelift/wasm/wasmtests/multi-6.wat
  41. 0
      cranelift/wasm/wasmtests/multi-7.wat
  42. 0
      cranelift/wasm/wasmtests/multi-8.wat
  43. 0
      cranelift/wasm/wasmtests/multi-9.wat
  44. 0
      cranelift/wasm/wasmtests/nullref.wat
  45. 0
      cranelift/wasm/wasmtests/passive-data.wat
  46. 0
      cranelift/wasm/wasmtests/pr2303.wat
  47. 0
      cranelift/wasm/wasmtests/pr2559.wat
  48. 0
      cranelift/wasm/wasmtests/ref-func-0.wat
  49. 0
      cranelift/wasm/wasmtests/rust_fannkuch.wat
  50. 0
      cranelift/wasm/wasmtests/select.wat
  51. 0
      cranelift/wasm/wasmtests/simd.wat
  52. 0
      cranelift/wasm/wasmtests/table-copy.wat
  53. 0
      cranelift/wasm/wasmtests/unreachable_code.wat
  54. 0
      cranelift/wasm/wasmtests/use_fallthrough_return.wat

4
cranelift/wasm/tests/wasm_testsuite.rs

@ -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| {
@ -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);
}

0
cranelift/wasmtests/arith.wat → cranelift/wasm/wasmtests/arith.wat

0
cranelift/wasmtests/br_table.wat → cranelift/wasm/wasmtests/br_table.wat

0
cranelift/wasmtests/call-simd.wat → cranelift/wasm/wasmtests/call-simd.wat

0
cranelift/wasmtests/call.wat → cranelift/wasm/wasmtests/call.wat

0
cranelift/wasmtests/embenchen_fannkuch.wat → cranelift/wasm/wasmtests/embenchen_fannkuch.wat

0
cranelift/wasmtests/embenchen_fasta.wat → cranelift/wasm/wasmtests/embenchen_fasta.wat

0
cranelift/wasmtests/embenchen_ifs.wat → cranelift/wasm/wasmtests/embenchen_ifs.wat

0
cranelift/wasmtests/embenchen_primes.wat → cranelift/wasm/wasmtests/embenchen_primes.wat

0
cranelift/wasmtests/fac-multi-value.wat → cranelift/wasm/wasmtests/fac-multi-value.wat

0
cranelift/wasmtests/fibonacci.wat → cranelift/wasm/wasmtests/fibonacci.wat

0
cranelift/wasmtests/globals.wat → cranelift/wasm/wasmtests/globals.wat

0
cranelift/wasmtests/icall-simd.wat → cranelift/wasm/wasmtests/icall-simd.wat

0
cranelift/wasmtests/icall.wat → cranelift/wasm/wasmtests/icall.wat

0
cranelift/wasmtests/if-reachability-translation-0.wat → cranelift/wasm/wasmtests/if-reachability-translation-0.wat

0
cranelift/wasmtests/if-reachability-translation-1.wat → cranelift/wasm/wasmtests/if-reachability-translation-1.wat

0
cranelift/wasmtests/if-reachability-translation-2.wat → cranelift/wasm/wasmtests/if-reachability-translation-2.wat

0
cranelift/wasmtests/if-reachability-translation-3.wat → cranelift/wasm/wasmtests/if-reachability-translation-3.wat

0
cranelift/wasmtests/if-reachability-translation-4.wat → cranelift/wasm/wasmtests/if-reachability-translation-4.wat

0
cranelift/wasmtests/if-reachability-translation-5.wat → cranelift/wasm/wasmtests/if-reachability-translation-5.wat

0
cranelift/wasmtests/if-reachability-translation-6.wat → cranelift/wasm/wasmtests/if-reachability-translation-6.wat

0
cranelift/wasmtests/if-unreachable-else-params-2.wat → cranelift/wasm/wasmtests/if-unreachable-else-params-2.wat

0
cranelift/wasmtests/if-unreachable-else-params.wat → cranelift/wasm/wasmtests/if-unreachable-else-params.wat

0
cranelift/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm → cranelift/wasm/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm

0
cranelift/wasmtests/memory.wat → cranelift/wasm/wasmtests/memory.wat

0
cranelift/wasmtests/multi-0.wat → cranelift/wasm/wasmtests/multi-0.wat

0
cranelift/wasmtests/multi-1.wat → cranelift/wasm/wasmtests/multi-1.wat

0
cranelift/wasmtests/multi-10.wat → cranelift/wasm/wasmtests/multi-10.wat

0
cranelift/wasmtests/multi-11.wat → cranelift/wasm/wasmtests/multi-11.wat

0
cranelift/wasmtests/multi-12.wat → cranelift/wasm/wasmtests/multi-12.wat

0
cranelift/wasmtests/multi-13.wat → cranelift/wasm/wasmtests/multi-13.wat

0
cranelift/wasmtests/multi-14.wat → cranelift/wasm/wasmtests/multi-14.wat

0
cranelift/wasmtests/multi-15.wat → cranelift/wasm/wasmtests/multi-15.wat

0
cranelift/wasmtests/multi-16.wat → cranelift/wasm/wasmtests/multi-16.wat

0
cranelift/wasmtests/multi-17.wat → cranelift/wasm/wasmtests/multi-17.wat

0
cranelift/wasmtests/multi-2.wat → cranelift/wasm/wasmtests/multi-2.wat

0
cranelift/wasmtests/multi-3.wat → cranelift/wasm/wasmtests/multi-3.wat

0
cranelift/wasmtests/multi-4.wat → cranelift/wasm/wasmtests/multi-4.wat

0
cranelift/wasmtests/multi-5.wat → cranelift/wasm/wasmtests/multi-5.wat

0
cranelift/wasmtests/multi-6.wat → cranelift/wasm/wasmtests/multi-6.wat

0
cranelift/wasmtests/multi-7.wat → cranelift/wasm/wasmtests/multi-7.wat

0
cranelift/wasmtests/multi-8.wat → cranelift/wasm/wasmtests/multi-8.wat

0
cranelift/wasmtests/multi-9.wat → cranelift/wasm/wasmtests/multi-9.wat

0
cranelift/wasmtests/nullref.wat → cranelift/wasm/wasmtests/nullref.wat

0
cranelift/wasmtests/passive-data.wat → cranelift/wasm/wasmtests/passive-data.wat

0
cranelift/wasmtests/pr2303.wat → cranelift/wasm/wasmtests/pr2303.wat

0
cranelift/wasmtests/pr2559.wat → cranelift/wasm/wasmtests/pr2559.wat

0
cranelift/wasmtests/ref-func-0.wat → cranelift/wasm/wasmtests/ref-func-0.wat

0
cranelift/wasmtests/rust_fannkuch.wat → cranelift/wasm/wasmtests/rust_fannkuch.wat

0
cranelift/wasmtests/select.wat → cranelift/wasm/wasmtests/select.wat

0
cranelift/wasmtests/simd.wat → cranelift/wasm/wasmtests/simd.wat

0
cranelift/wasmtests/table-copy.wat → cranelift/wasm/wasmtests/table-copy.wat

0
cranelift/wasmtests/unreachable_code.wat → cranelift/wasm/wasmtests/unreachable_code.wat

0
cranelift/wasmtests/use_fallthrough_return.wat → cranelift/wasm/wasmtests/use_fallthrough_return.wat

Loading…
Cancel
Save