diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-03-20 04:12:32 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-03-20 04:13:00 +0100 |
commit | c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6 (patch) | |
tree | 1683c7d813ad42513035cdaacdc7f0e698f5416f /pkgs/tools/misc | |
parent | 859c4a61a3d1cc8b32e535c0a8437532a340d1a4 (diff) | |
download | nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.tar nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.tar.gz nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.tar.bz2 nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.tar.lz nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.tar.xz nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.tar.zst nixpkgs-c3aa9107d4255fe5fe1ab34a9f723a9c65cc08f6.zip |
diffoscope: disable test depending on black, re-enable fixed test
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/diffoscope/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix index 7f1655b9843..17f57d31ab8 100644 --- a/pkgs/tools/misc/diffoscope/default.nix +++ b/pkgs/tools/misc/diffoscope/default.nix @@ -50,7 +50,7 @@ python3Packages.buildPythonApplication rec { xz zip zstd ] ++ (with python3Packages; [ - argcomplete black debian defusedxml jsondiff jsbeautifier libarchive-c + argcomplete debian defusedxml jsondiff jsbeautifier libarchive-c python_magic progressbar33 pypdf2 rpm tlsh ]) ++ lib.optionals stdenv.isLinux [ python3Packages.pyxattr acl cdrkit dtc ] @@ -66,20 +66,19 @@ python3Packages.buildPythonApplication rec { installManPage doc/diffoscope.1 ''; - # Disable flaky test and a failing one disabledTests = [ + # Disable flaky test and a failing one "test_android_manifest" "test_sbin_added_to_path" "test_diff_meta" "test_diff_meta2" "test_obj_no_differences" - # Failing because of file-v5.40 has a slightly different output. - # Upstream issue: https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/271 - "test_text_proper_indentation" - # fails because it fails to determine llvm version "test_item3_deflate_llvm_bitcode" + + # disable formatting tests because they can break on black updates + "test_code_is_black_clean" ] ++ lib.optionals stdenv.isDarwin [ # Disable flaky tests on Darwin "test_non_unicode_filename" |