cargo-test: use eval'd %cargo_test for tests

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
ignatenkobrain 2018-07-21 00:38:19 +02:00
commit ef0342d728
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -29,4 +29,4 @@ rpm -D "_with_check 1" --eval "%cargo_prep" | \
# XXX: We can't run eval directly, so source it
source prep.sh
exec cargo test --manifest-path "$crate_toml" "$@"
exec $(rpm --eval "%cargo_test") --manifest-path "$crate_toml" "$@"