From ef0342d72810bd678851514a63e23f0cfe38f1c4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Jul 2018 00:38:19 +0200 Subject: [PATCH] cargo-test: use eval'd %cargo_test for tests Signed-off-by: Igor Gnatenko --- cargo-test/runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-test/runtest.sh b/cargo-test/runtest.sh index ec1a956..390711a 100755 --- a/cargo-test/runtest.sh +++ b/cargo-test/runtest.sh @@ -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" "$@"