CI: put tests into a separate script so they can be run externally (#2956)

This commit is contained in:
Benjamin Bouvier
2021-06-01 17:28:47 +02:00
committed by GitHub
parent eadafb1554
commit aa2c0cd0ec
3 changed files with 12 additions and 27 deletions

View File

@@ -1,18 +0,0 @@
#!/bin/bash
cargo test \
--locked \
--features test-programs/test_programs \
--features old-x86-backend \
--all \
--exclude wasmtime-lightbeam \
--exclude wasmtime-wasi-nn \
--exclude wasmtime-wasi-crypto \
--exclude peepmatic \
--exclude peepmatic-automata \
--exclude peepmatic-fuzzing \
--exclude peepmatic-macro \
--exclude peepmatic-runtime \
--exclude peepmatic-test \
--exclude peepmatic-souper \
--exclude lightbeam

10
ci/run-tests.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
cargo test \
--features "test-programs/test_programs" \
--workspace \
--exclude '*lightbeam*' \
--exclude 'wasmtime-wasi-*' \
--exclude 'peepmatic*' \
--exclude wasi-crypto \
$@