1#!/usr/bin/env python3 2 3# Excludes: 4# 5# - test-programs: just programs used in tests. 6# 7# - wasmtime-wasi-nn: mutually-exclusive features that aren't available for all 8# targets, needs its own CI job. 9# 10# - wasmtime-fuzzing: enabling all features brings in OCaml which is a pain to 11# configure for all targets, so it has its own CI job. 12# 13# - wasm-spec-interpreter: brings in OCaml which is a pain to configure for all 14# targets, tested as part of the wastime-fuzzing CI job. 15# 16# - veri_engine: requires an SMT solver (z3) 17 18import subprocess 19import sys 20 21args = ['cargo', 'test', '--workspace', '--all-features'] 22args.append('--exclude=test-programs') 23args.append('--exclude=wasmtime-wasi-nn') 24args.append('--exclude=wasmtime-fuzzing') 25args.append('--exclude=wasm-spec-interpreter') 26args.append('--exclude=veri_engine') 27args.extend(sys.argv[1:]) 28 29result = subprocess.run(args) 30sys.exit(result.returncode) 31