mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-26 07:01:33 +00:00
Update Makefile and test configuration
This commit is contained in:
5
Makefile
5
Makefile
@ -48,18 +48,21 @@ do-install:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
# We use one thread so the emscripten stdouts doesn't collide
|
# 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 --exclude wasmer-wasi -- $(runargs)
|
cargo test --all --exclude wasmer-runtime-c-api --exclude wasmer-emscripten --exclude wasmer-spectests --exclude wasmer-singlepass-backend --exclude wasmer-wasi --exclude wasmer-middleware-common -- $(runargs)
|
||||||
# cargo test --all --exclude wasmer-emscripten -- --test-threads=1 $(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 clif
|
||||||
|
cargo test --manifest-path lib/middleware-common/Cargo.toml --features clif
|
||||||
@if [ ! -z "${CIRCLE_JOB}" ]; then rm -f /home/circleci/project/target/debug/deps/libcranelift_wasm* && rm -f /Users/distiller/project/target/debug/deps/libcranelift_wasm*; fi;
|
@if [ ! -z "${CIRCLE_JOB}" ]; then rm -f /home/circleci/project/target/debug/deps/libcranelift_wasm* && rm -f /Users/distiller/project/target/debug/deps/libcranelift_wasm*; fi;
|
||||||
cargo test --manifest-path lib/spectests/Cargo.toml --features llvm
|
cargo test --manifest-path lib/spectests/Cargo.toml --features llvm
|
||||||
cargo test --manifest-path lib/runtime/Cargo.toml --features llvm
|
cargo test --manifest-path lib/runtime/Cargo.toml --features llvm
|
||||||
|
cargo test --manifest-path lib/middleware-common/Cargo.toml --features llvm
|
||||||
cargo build -p wasmer-runtime-c-api
|
cargo build -p wasmer-runtime-c-api
|
||||||
cargo test -p wasmer-runtime-c-api -- --nocapture
|
cargo test -p wasmer-runtime-c-api -- --nocapture
|
||||||
|
|
||||||
test-singlepass:
|
test-singlepass:
|
||||||
cargo test --manifest-path lib/spectests/Cargo.toml --features singlepass
|
cargo test --manifest-path lib/spectests/Cargo.toml --features singlepass
|
||||||
cargo test --manifest-path lib/runtime/Cargo.toml --features singlepass
|
cargo test --manifest-path lib/runtime/Cargo.toml --features singlepass
|
||||||
|
cargo test --manifest-path lib/middleware-common/Cargo.toml --features singlepass
|
||||||
|
|
||||||
test-emscripten-llvm:
|
test-emscripten-llvm:
|
||||||
cargo test --manifest-path lib/emscripten/Cargo.toml --features llvm -- --test-threads=1 $(runargs)
|
cargo test --manifest-path lib/emscripten/Cargo.toml --features llvm -- --test-threads=1 $(runargs)
|
||||||
|
@ -121,7 +121,7 @@ pub fn set_points_used(_instance: &mut Instance, _value: u64) {
|
|||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(all(test, feature = "singlepass"))]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use wabt::wat2wasm;
|
use wabt::wat2wasm;
|
||||||
|
Reference in New Issue
Block a user