diff options
author | Sam James <sam@gentoo.org> | 2024-09-22 12:25:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-22 12:26:31 +0100 |
commit | d41ccfca6ff4e0ec8652b6808070f9b718e74413 (patch) | |
tree | 10b6bfd59762a3a88c26dd9e81ea89068356cfff /dev-vcs | |
parent | profiles: mask <dev-libs/cudnn-8.8.0.121 too for EOL GCC (diff) | |
download | gentoo-d41ccfca6ff4e0ec8652b6808070f9b718e74413.tar.gz gentoo-d41ccfca6ff4e0ec8652b6808070f9b718e74413.tar.bz2 gentoo-d41ccfca6ff4e0ec8652b6808070f9b718e74413.zip |
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>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/git/git-2.46.0.ebuild | 5 | ||||
-rw-r--r-- | dev-vcs/git/git-2.46.1.ebuild | 5 | ||||
-rw-r--r-- | dev-vcs/git/git-9999.ebuild | 5 |
3 files changed, 6 insertions, 9 deletions
diff --git a/dev-vcs/git/git-2.46.0.ebuild b/dev-vcs/git/git-2.46.0.ebuild index 0247cf6cb525..6112d2fa6228 100644 --- a/dev-vcs/git/git-2.46.0.ebuild +++ b/dev-vcs/git/git-2.46.0.ebuild @@ -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 } diff --git a/dev-vcs/git/git-2.46.1.ebuild b/dev-vcs/git/git-2.46.1.ebuild index 0247cf6cb525..6112d2fa6228 100644 --- a/dev-vcs/git/git-2.46.1.ebuild +++ b/dev-vcs/git/git-2.46.1.ebuild @@ -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 } diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild index 0247cf6cb525..6112d2fa6228 100644 --- a/dev-vcs/git/git-9999.ebuild +++ b/dev-vcs/git/git-9999.ebuild @@ -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 } |