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-wasi-tls-nativetls: the openssl dependency does not play nice with 11# cross compilation. This crate is tested in a separate CI job. 12# 13# - wasmtime-fuzzing: enabling all features brings in OCaml which is a pain to 14# configure for all targets, so it has its own CI job. 15# 16# - wasm-spec-interpreter: brings in OCaml which is a pain to configure for all 17# targets, tested as part of the wastime-fuzzing CI job. 18# 19# - veri_engine: requires an SMT solver (z3) 20 21import subprocess 22import sys 23 24args = ['cargo', 'test', '--workspace', '--all-features'] 25args.append('--exclude=test-programs') 26args.append('--exclude=wasmtime-wasi-nn') 27args.append('--exclude=wasmtime-wasi-tls-nativetls') 28args.append('--exclude=wasmtime-fuzzing') 29args.append('--exclude=wasm-spec-interpreter') 30args.append('--exclude=veri_engine') 31args.extend(sys.argv[1:]) 32 33result = subprocess.run(args) 34sys.exit(result.returncode) 35