Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/ci/run-tests.py
1685 views
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
21
import subprocess
22
import sys
23
24
args = ['cargo', 'test', '--workspace', '--all-features']
25
args.append('--exclude=test-programs')
26
args.append('--exclude=wasmtime-wasi-nn')
27
args.append('--exclude=wasmtime-wasi-tls-nativetls')
28
args.append('--exclude=wasmtime-fuzzing')
29
args.append('--exclude=wasm-spec-interpreter')
30
args.append('--exclude=veri_engine')
31
args.extend(sys.argv[1:])
32
33
result = subprocess.run(args)
34
sys.exit(result.returncode)
35
36