A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
#!/usr/bin/env python3
# Excludes:
#
# - test-programs: just programs used in tests.
#
# - wasmtime-wasi-nn: mutually-exclusive features that aren't available for all
# targets, needs its own CI job.
#
# - wasmtime-wasi-tls: the openssl dependency does not play nice with
# cross compilation. This crate is tested in a separate CI job.
#
# - calculator (under examples/wasip2-plugins): an example that's tested separately.
#
# - cranelift-isle-veri. requires an SMT solver (z3 or cvc5)
import subprocess
import sys
args = ['cargo', 'test', '--workspace', '--all-features']
args.append('--exclude=test-programs')
args.append('--exclude=wasmtime-wasi-nn')
args.append('--exclude=wasmtime-wasi-tls')
args.append('--exclude=calculator')
args.append('--exclude=cranelift-isle-veri')
args.extend(sys.argv[1:])
result = subprocess.run(args)
sys.exit(result.returncode)