mirror of
https://codeberg.org/guix/guix.git
synced 2026-09-07 14:22:15 +00:00
* gnu/packages/python-xyz.scm (python-angr): Update to 9.2.186. [source] <patches>: Add patch to fix manyfloat test failure. [arguments] <imported-modules, modules>: Add cargo modules. <phases>: Add prepare-cargo-build-system, fix-tests, use-guix-vendored-dependencies, check-setup, generate-protobuf-files; Remove 'patch-tests. [propagated-inputs]: Remove python-ailment, python-colorama, python-cppheaderparser, python-dpkt, python-nampa, python-itanium-demangler, python-rpyc, python-sqlalchemy; add python-msgspec, python-pypcode, python-typing-extensions. [native-inputs]: Remove python-wheel and "binaries" which is moved to a hidden package; add angr-binaries and python-setuptools-rust; remove package labels. * gnu/packages/rust-sources.scm (rust-icicle-emu-0.1.0.4d7ed93): New variable. * gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add python-angr inputs. (lookup-cargo-inputs): Add rust-icicle-emu-0.1.0.4d7ed93 inputs. * gnu/packages/patches/python-angr-check-exec-deps.patch: Rebase patch. * gnu/packages/patches/python-angr-fix-manyfloat-tests.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register new patch. Change-Id: I88180e4be3d5b65fc4047a0d6eeecc864bba8b55 Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
The angr test suite performs analysis on several pre-compiled binaries
|
|
to ensure its binary analysis capabilities are working as intended.
|
|
Some of these binaries are also executed as part of the test suite to
|
|
test if the simulation engine provided by angr results in the same
|
|
output as native execution of the binary.
|
|
|
|
For Guix, this files as the glibc shared objects cannot be found.
|
|
Additionally, we don't really want to execute pre-compiled binaries
|
|
on Guix, hence we disable those tests.
|
|
|
|
diff --git a/tests/procedures/glibc/test_ctype_locale.py b/tests/procedures/glib>
|
|
index 005a1444e..c5649a54d 100755
|
|
--- a/tests/procedures/glibc/test_ctype_locale.py
|
|
+++ b/tests/procedures/glibc/test_ctype_locale.py
|
|
@@ -15,7 +15,7 @@ test_location = os.path.join(bin_location, "tests")
|
|
|
|
|
|
class TestCtypeLocale(unittest.TestCase):
|
|
- @skip_if_not_linux
|
|
+ @unittest.skip("test executes pre-compiled binaries")
|
|
def test_ctype_b_loc(self):
|
|
"""
|
|
test_ctype_locale.test_ctype_b_loc
|
|
@@ -61,7 +61,7 @@ class TestCtypeLocale(unittest.TestCase):
|
|
output = subprocess.check_output(bin_path, shell=True)
|
|
assert result == output
|
|
|
|
- @skip_if_not_linux
|
|
+ @unittest.skip("test executes pre-compiled binaries")
|
|
def test_ctype_tolower_loc(self):
|
|
"""
|
|
test_ctype_locale.test_ctype_tolower_loc
|
|
@@ -110,7 +110,7 @@ class TestCtypeLocale(unittest.TestCase):
|
|
output = subprocess.check_output(bin_path, shell=True)
|
|
assert result == output
|
|
|
|
- @skip_if_not_linux
|
|
+ @unittest.skip("test executes pre-compiled binaries")
|
|
def test_ctype_toupper_loc(self):
|
|
"""
|
|
test_ctype_locale.test_ctype_toupper_loc
|
|
|