mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
nexusmods-app: use testFilters
& disabledTests
args
This commit is contained in:
parent
1c379e3a57
commit
a177c637b9
@ -69,25 +69,23 @@ buildDotnetModule rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
dotnetTestFlags = [
|
||||
"--environment=USER=nobody"
|
||||
(
|
||||
"--filter="
|
||||
+ lib.strings.concatStringsSep "&" (
|
||||
[
|
||||
"Category!=Disabled"
|
||||
"FlakeyTest!=True"
|
||||
"RequiresNetworking!=True"
|
||||
"FullyQualifiedName!=NexusMods.UI.Tests.ImageCacheTests.Test_LoadAndCache_RemoteImage"
|
||||
"FullyQualifiedName!=NexusMods.UI.Tests.ImageCacheTests.Test_LoadAndCache_ImageStoredFile"
|
||||
]
|
||||
++ lib.optionals (!_7zz.meta.unfree) [
|
||||
"FullyQualifiedName!=NexusMods.Games.FOMOD.Tests.FomodXmlInstallerTests.InstallsFilesSimple_UsingRar"
|
||||
]
|
||||
)
|
||||
)
|
||||
dotnetTestFlags = [ "--environment=USER=nobody" ];
|
||||
|
||||
testFilters = [
|
||||
"Category!=Disabled"
|
||||
"FlakeyTest!=True"
|
||||
"RequiresNetworking!=True"
|
||||
];
|
||||
|
||||
disabledTests =
|
||||
[
|
||||
"NexusMods.UI.Tests.ImageCacheTests.Test_LoadAndCache_RemoteImage"
|
||||
"NexusMods.UI.Tests.ImageCacheTests.Test_LoadAndCache_ImageStoredFile"
|
||||
]
|
||||
++ lib.optionals (!_7zz.meta.unfree) [
|
||||
"NexusMods.Games.FOMOD.Tests.FomodXmlInstallerTests.InstallsFilesSimple_UsingRar"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests =
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user