termscp: disable failing darwin tests

This commit is contained in:
Gutyina Gergő 2024-11-15 06:58:48 +01:00
parent c6452a4665
commit dd0d6b35fe
No known key found for this signature in database

View File

@ -1,5 +1,6 @@
{
lib,
stdenvNoCC,
dbus,
fetchFromGitHub,
openssl,
@ -42,12 +43,17 @@ rustPlatform.buildRustPackage rec {
doInstallCheck = true;
checkFeatures = [ "isolated-tests" ];
checkFlags = [
# requires networking
"--skip=cli::remote::test::test_should_make_remote_args_from_one_bookmark_and_one_remote_with_local_dir"
"--skip=cli::remote::test::test_should_make_remote_args_from_two_bookmarks_and_local_dir"
"--skip=cli::remote::test::test_should_make_remote_args_from_two_remotes_and_local_dir"
];
checkFlags =
[
# requires networking
"--skip=cli::remote::test::test_should_make_remote_args_from_one_bookmark_and_one_remote_with_local_dir"
"--skip=cli::remote::test::test_should_make_remote_args_from_two_bookmarks_and_local_dir"
"--skip=cli::remote::test::test_should_make_remote_args_from_two_remotes_and_local_dir"
]
++ lib.optionals stdenvNoCC.isDarwin [
"--skip=system::watcher::test::should_poll_file_removed"
"--skip=system::watcher::test::should_poll_file_update"
];
passthru = {
updateScript = nix-update-script { };