Commit Graph

5594 Commits

Author SHA1 Message Date
Syrus
51ed488b49 Added comments on features 2020-04-16 12:45:34 -07:00
Syrus
6904961325 Ignore basic test as it doesn’t run in Aarch64 2020-04-16 12:42:21 -07:00
Syrus
4e489a1bde Moved tests from runtime to high_level_api 2020-04-16 12:34:54 -07:00
Syrus
595f5bb472 Moved cache testing to the general tests 2020-04-16 12:22:28 -07:00
Syrus
636b0291af Fixed Windows build. Make Azure windows simpler 2020-04-16 12:00:35 -07:00
Syrus
b301ac85be Improved tests to use available compilers 2020-04-16 11:52:29 -07:00
Syrus Akbary
5f5928dfbd
Update Cargo.toml
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-04-16 11:38:36 -07:00
Syrus
9dc587e611 Fixed singlepass tests on Windows 2020-04-15 19:47:58 -07:00
Syrus
444a68d1a4 Test only on the backends available 2020-04-15 19:39:10 -07:00
Syrus
6415579ed6 Fixed command names 2020-04-15 19:35:20 -07:00
Syrus
8a669cfda5 Fixed example testing 2020-04-15 19:34:25 -07:00
Syrus
21cef317b1 Fixed syntax 2020-04-15 18:48:54 -07:00
Syrus
2a897fd5d2 Ignore wasi tests on aarch64 2020-04-15 18:42:07 -07:00
Syrus
8369431b34 Removed unneeded parenthesis on ARM 2020-04-15 18:37:47 -07:00
Syrus
21f7baec99 Fixed lints 2020-04-15 18:29:53 -07:00
Syrus
28351402aa Formatted rust files 2020-04-15 18:29:53 -07:00
Syrus
bb3c1a6e19 Fixed suggestions 2020-04-15 18:29:53 -07:00
Syrus
23a18965b1 Improve llvm compat 2020-04-15 18:29:13 -07:00
Syrus
cce851f22f Improved tests semantics 2020-04-15 18:29:13 -07:00
Syrus
37afcd33df Removed unused code on wasitests 2020-04-15 18:29:13 -07:00
Syrus
7b41c2b843 Test forgotten function in imports 2020-04-15 18:29:13 -07:00
Syrus
dfb7432595 Moved processors out of build 2020-04-15 18:29:13 -07:00
Syrus Akbary
c5415216d7
Update build.rs (truthy env unwrap suggestion) 2020-04-15 17:52:54 -07:00
Syrus Akbary
b1a7dbe212
Update tests/generate-wasi-tests/src/set_up_toolchain.rs
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-04-15 17:49:01 -07:00
Syrus Akbary
6a840a753a
Update Cargo.toml
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-04-15 17:48:21 -07:00
Syrus Akbary
e14a74063b
Update build.rs
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-04-15 17:48:03 -07:00
Syrus Akbary
8c9d8b23cb
Update tests/custom/multiple-traps.wast
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-04-15 17:47:31 -07:00
Syrus
51a454659b Only run shell tput in *Unix 2020-04-15 16:35:02 -07:00
Syrus
52c969a71a Merge branch 'master' into test-refactor-2 2020-04-15 16:32:37 -07:00
Syrus
ce14c6c079 Second part of the refactor 2020-04-15 16:31:05 -07:00
bors[bot]
249d0b8e20
Merge #1380
1380: Test refactor r=syrusakbary a=syrusakbary

<!-- 
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests

-->

# Description

This PR refactors the way we do testing in our infrastructure, simplifying test generation specially for spectests for each of the backends.

<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->

# Review

- [ ] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Syrus <me@syrusakbary.com>
2020-04-14 20:26:16 +00:00
Syrus
2dc501822b Trying to make tests pass 2020-04-14 13:21:39 -07:00
Syrus
a85bc193f7 Ignore spec start on cranelift windows 2020-04-14 13:19:52 -07:00
Syrus
952374ccfa Fixed android tests 2020-04-14 13:19:40 -07:00
Syrus
6216891ded Fixed windows tests ignores 2020-04-14 12:46:20 -07:00
Syrus
a840b45ed7 Improved PR based on feedback. Fixed ignores 2020-04-14 12:42:45 -07:00
Syrus
cebd0ed7ab Improved attributions 2020-04-14 12:41:05 -07:00
Syrus
7f0c15b0e1 Refactored test ignores 2020-04-14 11:43:18 -07:00
Syrus
a7dba54b7f Improved test generation 2020-04-14 11:41:12 -07:00
Syrus
c2306bd39e Renamed dev_utils to utils 2020-04-10 20:18:27 -07:00
Mark McCaskey
4f23ed7f20 Readjust where things are exported in the new API 2020-04-10 12:12:36 -07:00
bors[bot]
6661ca73a6
Merge #1370
1370: feat(interface-types) Crate reorganization r=Hywan a=Hywan

This PR re-organizes the crate:

* `interpreter/wasm/values.rs` moves to `values.rs`,
* `interpreter/wasm/serde/*` moves to `serde/*`,
* `types.rs` is new, and includes `InterfaceType` and `RecordType`,
* Update the documentation.

Bonus: `InterfaceValue::Record`  now takes a `Vec1` rather than a `Vec` to match `InterfaceType::Record`.

Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-04-10 08:24:23 +00:00
Mark McCaskey
bf09dc5e67
Merge branch 'master' into feature/update-capi-to-use-new-api 2020-04-09 17:40:29 -07:00
bors[bot]
da1e963c52
Merge #1371
1371: Update tests to use new API where easily possible r=MarkMcCaskey a=MarkMcCaskey

The primary thing that wasn't updated yet is the compile and compile_with... functions.


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-04-09 22:56:57 +00:00
Mark McCaskey
5c09fedcd3 Remove all uses of wasmer_runtime from tests 2020-04-09 15:50:35 -07:00
Mark McCaskey
c9460e3a03 Migrate tests away from using runtime and runtime_core 2020-04-09 14:37:21 -07:00
Mark McCaskey
a149c9aaeb Update tests to use new API where easily possible 2020-04-09 12:51:18 -07:00
Ivan Enderlin
3e9c3a1694 doc(interface-types) Update the module documentation. 2020-04-09 12:16:57 +02:00
Ivan Enderlin
4c2fb953a4 feat(interface-types) InterfaceValue::Record now takes a Vec1.
It matches the definition of `InterfaceType::Record`.
2020-04-09 12:10:48 +02:00
Ivan Enderlin
700c290e55 feat(interface-types) Move the values and serde modules to the root of the crate. 2020-04-09 11:23:26 +02:00