Skip to content

Commit

Permalink
Add wasi integration tests; disable integration tests from all test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed May 17, 2019
1 parent b3b5716 commit f328848
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
command: |
make test-emscripten-clif
make test-emscripten-llvm
- run:
name: WASI Tests
command: |
make test-wasi-clif
make test-wasi-singlepass
- run:
name: Integration Tests
command: make integration-tests
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ do-install:

test:
# We use one thread so the emscripten stdouts doesn't collide
cargo test --all --exclude wasmer-runtime-c-api --exclude wasmer-emscripten --exclude wasmer-spectests --exclude wasmer-singlepass-backend -- $(runargs)
cargo test --all --exclude wasmer-runtime-c-api --exclude wasmer-emscripten --exclude wasmer-spectests --exclude wasmer-singlepass-backend --exclude wasmer-wasi -- $(runargs)
# cargo test --all --exclude wasmer-emscripten -- --test-threads=1 $(runargs)
cargo test --manifest-path lib/spectests/Cargo.toml --features clif
cargo test --manifest-path lib/spectests/Cargo.toml --features llvm
Expand All @@ -72,6 +72,9 @@ test-emscripten-singlepass:
test-wasi-clif:
cargo test --manifest-path lib/wasi/Cargo.toml --features "clif" -- $(runargs)

test-singlepass-clif:
cargo test --manifest-path lib/wasi/Cargo.toml --features "singlepass" -- $(runargs)

singlepass-debug-release:
cargo +nightly build --features backend:singlepass,debug --release

Expand Down

0 comments on commit f328848

Please sign in to comment.