#!/usr/bin/env python312# Excludes:3#4# - test-programs: just programs used in tests.5#6# - wasmtime-wasi-nn: mutually-exclusive features that aren't available for all7# targets, needs its own CI job.8#9# - wasmtime-wasi-tls-nativetls: the openssl dependency does not play nice with10# cross compilation. This crate is tested in a separate CI job.11#12# - wasmtime-wasi-tls-openssl: the openssl dependency does not play nice with13# cross compilation. This crate is tested in a separate CI job.14#15# - wasmtime-fuzzing: enabling all features brings in OCaml which is a pain to16# configure for all targets, so it has its own CI job.17#18# - wasm-spec-interpreter: brings in OCaml which is a pain to configure for all19# targets, tested as part of the wastime-fuzzing CI job.20#21# - calculator (under examples/wasip2-plugins): an example that's tested separately.22#23# - veri_engine: requires an SMT solver (z3)2425import subprocess26import sys2728args = ['cargo', 'test', '--workspace', '--all-features']29args.append('--exclude=test-programs')30args.append('--exclude=wasmtime-wasi-nn')31args.append('--exclude=wasmtime-wasi-tls-nativetls')32args.append('--exclude=wasmtime-wasi-tls-openssl')33args.append('--exclude=wasmtime-fuzzing')34args.append('--exclude=wasm-spec-interpreter')35args.append('--exclude=veri_engine')36args.append('--exclude=calculator')37args.extend(sys.argv[1:])3839result = subprocess.run(args)40sys.exit(result.returncode)414243