Commit Graph

133 Commits

Author SHA1 Message Date
Syrus
39f5a79254 Test the capi with multiple backends 2019-12-12 16:38:58 -08:00
Mark McCaskey
3ba355dda4 Remove deterministic flag setting default compiler; add auto logic 2019-12-05 15:04:05 -08:00
Nick Lewycky
85666fc522 Add new llvm-backend-test crate. 2019-11-22 17:03:23 -08:00
Syrus
0834ccf661 Merge branch 'master' into feature/singlepass-aarch64
# Conflicts:
#	Makefile
2019-11-21 20:10:09 -08:00
Syrus
499d42a759 Fixed tests 2019-11-21 19:08:48 -08:00
Syrus
9a146c57fc Make docs compilation happy 2019-11-21 18:35:19 -08:00
losfair
d45076151e Merge remote-tracking branch 'origin/feature/singlepass-aarch64' into feature/singlepass-aarch64 2019-11-21 23:32:28 +08:00
losfair
5f26fcd633 Make cranelift optional and enable singlepass by default on aarch64. 2019-11-21 23:31:10 +08:00
Syrus
cafad45175 Added make wapm command 2019-11-20 19:13:59 -08:00
losfair
66e9184226 Specify test-threads=1 for singlepass spectests. 2019-11-13 15:06:42 +08:00
Nick Lewycky
1d8f2b767d Build Metadata using the current Context.
Fixes #927. Reverts #928.
2019-11-04 15:27:38 -08:00
Nick Lewycky
efbb53a91e Add workaround for #927. 2019-11-04 11:04:50 -08:00
Ivan Enderlin
12a05ca280 chore(makefile) Remove the +nightly flag. 2019-10-30 15:00:31 +01:00
Ivan Enderlin
bdc1ab3412 feat(runtime-core-tests) Introduce the new wasmer-runtime-core-tests crate.
This non-publishable new crate contains a test suite for the
`wasmer-runtime-core` crate. So far, the test suite is rather small,
but it aims to be extended in a close future.
2019-10-30 13:28:01 +01:00
Mark McCaskey
c2d3f29cb4
Merge branch 'master' into feature/wasi-in-c-api 2019-10-25 14:38:14 -07:00
Mark McCaskey
2a532b8ce5 Add tests for C API import_object and WASI updates 2019-10-25 14:24:22 -07:00
Mark McCaskey
b3e8202138 Clean up Makefile after talking with Nick 2019-10-21 15:15:11 -07:00
Nick Lewycky
dde31076a8 Grammer in comment. 2019-10-18 13:00:40 -07:00
Nick Lewycky
b180a2e14c Get aggressive about running cargo check over all packages with all features.
Fixes the one issue uncovered. The capstone disassembling support in the LLVM backend was broken. Fixed by removing it. Instead, use the `--llvm-object-file` flag to get a finished object file to disassemble with any disassembler.
2019-10-17 15:37:35 -07:00
Jordan Danford
9be72e6808 Fix some other files too 2019-09-30 22:50:04 -07:00
Mark McCaskey
91cd88fde6 Fix bench targets in makefile 2019-09-23 16:33:29 -07:00
Syrus
bafd318284 Improved generate emtests and generate spectests 2019-09-22 17:46:16 -07:00
Mark McCaskey
a090bec490 Add examples step in Makefile and add it to integration-tests 2019-09-18 17:12:48 -07:00
Mark McCaskey
7a9afbffe9
Merge branch 'master' into feature/serialization-of-wasi-state 2019-09-04 14:36:25 -07:00
Nick Lewycky
f785fe2e95 Add 'docs' to .PHONY.
Fixes Makefile claiming that 'docs' is up to date because it thinks we're
asking it to build 'docs' directory instead of simply running cargo for us.
2019-09-03 16:18:02 -07:00
Nick Lewycky
f55e58936d Build API documentation with cargo doc. 2019-09-03 16:12:30 -07:00
Syrus
c7c7a5cee1 Improved capi tests 2019-09-01 09:42:07 -07:00
Syrus Akbary
b48766535a
Merge branch 'master' into feature/serialization-of-wasi-state 2019-09-01 00:05:00 -07:00
Syrus Akbary
329b283937
Merge pull request #656 from wasmerio/feature/azure-pipelines
Initial version of Azure pipelines
2019-08-31 23:51:37 -07:00
Mark McCaskey
91b199fe12 Split middleware-common tests into separate subcrate 2019-08-29 11:14:57 -07:00
Mark McCaskey
e4a51484a7 Add wasitests-setup to unit testing because it runs other tests 2019-08-28 13:36:30 -07:00
Mark McCaskey
a188e7f652 Add debug code for CI 2019-08-28 11:19:59 -07:00
Mark McCaskey
634aca8b9d Add WASI serializing test 2019-08-28 10:50:59 -07:00
Syrus
462b0b5149 Initial version of Azure pipelines 2019-08-10 11:11:54 -07:00
Mark McCaskey
61f1df06d1 implement wasi::path_rename 2019-08-09 15:40:04 +09:00
Syrus Akbary
537c1562cc
Merge pull request #641 from wasmerio/nlewycky/patch-2
The feature is named "backend-cranelift" in Cargo.toml.
2019-08-08 10:30:37 -07:00
bors[bot]
321ca4e565 Merge #635
635: Update spectests and runner r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Syrus <me@syrusakbary.com>
2019-08-08 00:51:59 +00:00
Nick Lewycky
b4eab13e11 The feature is backend-cranelift in Cargo.toml.
Not a big deal right now because cranelift does not implement metering yet.
2019-08-07 16:49:41 -07:00
Brandon Fish
03e1b3d8e8 Remove unnecessary println and make spectest runs nocapture 2019-08-05 18:58:51 -06:00
Mark McCaskey
6db7bd8f07 get fd_allocate test working 2019-08-05 14:01:04 +09:00
Syrus Akbary
8dc3bffe6e
Skip middleware-llvm tests until is fixed on CI
More info of the failure: https://circleci.com/gh/wasmerio/wasmer/11663

```
cargo test --manifest-path lib/middleware-common/Cargo.toml --release --features llvm
   Compiling wasmer-llvm-backend v0.6.0 (/home/circleci/project/lib/llvm-backend)
   Compiling inkwell v0.1.0 (https://github.com/wasmerio/inkwell?branch=llvm8-0#4c5359e5)
   Compiling wasmer-middleware-common v0.6.0 (/home/circleci/project/lib/middleware-common)
    Finished release [optimized] target(s) in 14.54s
     Running target/release/deps/wasmer_middleware_common-3c263452f3b7d07e

running 2 tests
test metering::tests::test_points_reduced_after_call ... test metering::tests::test_points_reduced_after_call has been running for over 60 seconds
test metering::tests::test_traps_after_costly_call ... test metering::tests::test_traps_after_costly_call has been running for over 60 seconds
Makefile:59: recipe for target 'middleware-llvm' failed
make: *** [middleware-llvm] Terminated
Too long with no output (exceeded 10m0s)
```
2019-08-02 18:45:21 -07:00
Syrus
6433a778a1 Improved README. Simplified integration tests command 2019-07-31 21:11:29 -07:00
Mark McCaskey
229254fd04 Update bench part of readme, add benchmark compilation to CI 2019-07-31 08:53:33 +09:00
Mark McCaskey
741fffedb0 fix metering benchmark 2019-07-30 15:59:21 +09:00
Mark McCaskey
9910527b30 further improve sandbox, rework syscalls, add tests 2019-07-18 17:14:01 -07:00
Mark McCaskey
65bc9a5203 massive fs rewrite; add virtual root, tests 2019-07-17 14:00:51 -07:00
Mark McCaskey
53d7ecba2c improve wasitest infra and fix fseek test 2019-07-15 10:36:12 -07:00
Brandon Fish
ed19fd2913 Update loader-kernel feature name, fix compilation track state, cargo fmt 2019-07-12 23:02:57 -05:00
Brandon Fish
6fdff3ecca Add make check to build to check features are in test 2019-07-12 22:18:09 -05:00
Mark McCaskey
2ef7448e62 remove colons from feature names 2019-07-09 17:57:31 -07:00