Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rsk0315 committed May 3, 2024
1 parent 35df46a commit 840ca8e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/ci-test.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ cargo_test() {
local crate="${${(s:/:)toml}[3]}"

local test_name=(
$(cargo test --lib --release --manifest-path=$toml -- -Z unstable-options --format=json --list)
$(cargo test --lib --release --manifest-path=$toml \
-- -Z unstable-options --format=json --list \
| jq -rs 'map(select(.event == "discovered").name)[]')
)
echo "test_name: (${test_name[*]})" >&2
local event
Expand All @@ -45,7 +47,9 @@ cargo_test() {
miri_test_name=()
else
miri_test_name=(
$(cargo miri test --lib --manifest-path=$toml -- -Z unstable-options --format=json --list)
$(cargo miri test --lib --manifest-path=$toml \
-- -Z unstable-options --format=json --list \
| jq -rs 'map(select(.event == "discovered").name)[]')
)
fi
echo "miri_test_name: (${miri_test_name[*]})" >&2
Expand Down

0 comments on commit 840ca8e

Please sign in to comment.