projects/guix·blob ruby-team · refs

42 lines · 1.6 KiB

1The angr test suite performs analysis on several pre-compiled binaries
2to ensure its binary analysis capabilities are working as intended.
3Some of these binaries are also executed as part of the test suite to
4test if the simulation engine provided by angr results in the same
5output as native execution of the binary.
6
7For Guix, this files as the glibc shared objects cannot be found.
8Additionally, we don't really want to execute pre-compiled binaries
9on Guix, hence we disable those tests.
10
11diff --git a/tests/procedures/glibc/test_ctype_locale.py b/tests/procedures/glib>
12index 005a1444e..c5649a54d 100755
13--- a/tests/procedures/glibc/test_ctype_locale.py
14+++ b/tests/procedures/glibc/test_ctype_locale.py
15@@ -15,7 +15,7 @@ test_location = os.path.join(bin_location, "tests")
16
17
18 class TestCtypeLocale(unittest.TestCase):
19- @skip_if_not_linux
20+ @unittest.skip("test executes pre-compiled binaries")
21 def test_ctype_b_loc(self):
22 """
23 test_ctype_locale.test_ctype_b_loc
24@@ -61,7 +61,7 @@ class TestCtypeLocale(unittest.TestCase):
25 output = subprocess.check_output(bin_path, shell=True)
26 assert result == output
27
28- @skip_if_not_linux
29+ @unittest.skip("test executes pre-compiled binaries")
30 def test_ctype_tolower_loc(self):
31 """
32 test_ctype_locale.test_ctype_tolower_loc
33@@ -110,7 +110,7 @@ class TestCtypeLocale(unittest.TestCase):
34 output = subprocess.check_output(bin_path, shell=True)
35 assert result == output
36
37- @skip_if_not_linux
38+ @unittest.skip("test executes pre-compiled binaries")
39 def test_ctype_toupper_loc(self):
40 """
41 test_ctype_locale.test_ctype_toupper_loc
42