mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: diffoscope: Update to 224.
* gnu/packages/diffoscope.scm (diffoscope): Update to 224. * gnu/packages/patches/diffoscope-fix-llvm-test.patch: Adjust accordingly.
This commit is contained in:
parent
0d2ad16c07
commit
45eda17644
2 changed files with 8 additions and 7 deletions
|
@ -3,7 +3,7 @@ From: Tobias Geerinckx-Rice <me@tobias.gr>
|
|||
Date: Mon, 4 Oct 2021 21:03:43 +0200
|
||||
Subject: [PATCH] gnu: diffoscope: Fix test_item3_deflate_llvm_bitcode.
|
||||
|
||||
Taken verbatim from Nixpkgs[0].
|
||||
Taken verbatim from Nixpkgs[0]. Later extended for diffoscope >= 224.
|
||||
|
||||
[0]: https://github.com/NixOS/nixpkgs/blob/589e03f109092a3ba97781fd0533110bf78a3f97/pkgs/tools/misc/diffoscope/fix-tests.patch
|
||||
---
|
||||
|
@ -11,18 +11,19 @@ Taken verbatim from Nixpkgs[0].
|
|||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/tests/comparators/test_rlib.py b/tests/comparators/test_rlib.py
|
||||
index 8d201ab..05960aa 100644
|
||||
index 8a20114d..64cea17f 100644
|
||||
--- a/tests/comparators/test_rlib.py
|
||||
+++ b/tests/comparators/test_rlib.py
|
||||
@@ -81,9 +81,6 @@ def rlib_dis_expected_diff():
|
||||
@@ -80,12 +80,6 @@ def rlib_dis_expected_diff():
|
||||
if actual_ver >= "7.0":
|
||||
diff_file = "rlib_llvm_dis_expected_diff_7"
|
||||
|
||||
- if actual_ver >= "10.0":
|
||||
- diff_file = "rlib_llvm_dis_expected_diff_10"
|
||||
-
|
||||
- if actual_ver >= "15.0":
|
||||
- diff_file = "rlib_llvm_dis_expected_diff_15"
|
||||
-
|
||||
return get_data(diff_file)
|
||||
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue