diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-02-08 15:27:43 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-02-08 15:43:17 +0100 |
commit | 00e31f444171e91de002606f3df2de40bcfdb9b5 (patch) | |
tree | 0c186b5ea21a622c2f45aff6dd997cc7a8e8d4ae /dev-dotnet/nake | |
parent | dev-python/argcomplete: Stabilize 3.2.2 ALLARCHES, #924080 (diff) | |
download | gentoo-00e31f444171e91de002606f3df2de40bcfdb9b5.tar.gz gentoo-00e31f444171e91de002606f3df2de40bcfdb9b5.tar.bz2 gentoo-00e31f444171e91de002606f3df2de40bcfdb9b5.zip |
dev-dotnet/nake: disable tests that require network
Closes: https://bugs.gentoo.org/924103
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet/nake')
-rw-r--r-- | dev-dotnet/nake/nake-3.0.0-r1.ebuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/dev-dotnet/nake/nake-3.0.0-r1.ebuild b/dev-dotnet/nake/nake-3.0.0-r1.ebuild index d53aa6edb188..1bb3c912094c 100644 --- a/dev-dotnet/nake/nake-3.0.0-r1.ebuild +++ b/dev-dotnet/nake/nake-3.0.0-r1.ebuild @@ -268,9 +268,24 @@ src_unpack() { } src_prepare() { - rm Source/Nake.Tests/Multi_level_caching.cs \ - Source/Nake.Tests/Nuget_references.cs \ - Source/Utility.Tests/ShellFixture.cs || die + local -a bad_tests=( + Source/Nake.Tests/Environment_variable_interpolation.cs + Source/Nake.Tests/Loading_other_scripts.cs + Source/Nake.Tests/Multi_level_caching.cs + Source/Nake.Tests/Nuget_references.cs + Source/Utility.Tests/ShellFixture.cs + ) + rm "${bad_tests[@]}" || die + + cat << EOF > NuGet.Config || die +<?xml version="1.0" encoding="utf-8"?> +<configuration> +<packageSources> +<clear /> +<add key="nuget" value="${NUGET_PACKAGES}" /> +</packageSources> +</configuration> +EOF dotnet-pkg_src_prepare } |