dev-vcs/git: fixup netrc test handling

* Use emake for cleaner error handling
* Always give verbose logs
* Fix directory

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-09-22 12:26:31 +01:00
parent 7de3c29b71
commit d41ccfca6f
3 changed files with 6 additions and 9 deletions
+2 -3
View File
@@ -487,10 +487,9 @@ src_test() {
# And bail if there was a problem
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
popd &>/dev/null || die
if use perl ; then
make -C contrib/credential/netrc test || \
make -C contrib/credential/netrc testverbose || \
die "Tests failed for git-credential-netrc failed. Please file a bug!"
emake -C contrib/credential/netrc testverbose
fi
}
+2 -3
View File
@@ -487,10 +487,9 @@ src_test() {
# And bail if there was a problem
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
popd &>/dev/null || die
if use perl ; then
make -C contrib/credential/netrc test || \
make -C contrib/credential/netrc testverbose || \
die "Tests failed for git-credential-netrc failed. Please file a bug!"
emake -C contrib/credential/netrc testverbose
fi
}
+2 -3
View File
@@ -487,10 +487,9 @@ src_test() {
# And bail if there was a problem
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
popd &>/dev/null || die
if use perl ; then
make -C contrib/credential/netrc test || \
make -C contrib/credential/netrc testverbose || \
die "Tests failed for git-credential-netrc failed. Please file a bug!"
emake -C contrib/credential/netrc testverbose
fi
}