#!/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-fuzzing: enabling all features brings in OCaml which is a pain to13# configure for all targets, so it has its own CI job.14#15# - wasm-spec-interpreter: brings in OCaml which is a pain to configure for all16# targets, tested as part of the wastime-fuzzing CI job.17#18# - veri_engine: requires an SMT solver (z3)1920import subprocess21import sys2223args = ['cargo', 'test', '--workspace', '--all-features']24args.append('--exclude=test-programs')25args.append('--exclude=wasmtime-wasi-nn')26args.append('--exclude=wasmtime-wasi-tls-nativetls')27args.append('--exclude=wasmtime-fuzzing')28args.append('--exclude=wasm-spec-interpreter')29args.append('--exclude=veri_engine')30args.extend(sys.argv[1:])3132result = subprocess.run(args)33sys.exit(result.returncode)343536