| 1 | The angr test suite performs analysis on several pre-compiled binaries
|
| 2 | to ensure its binary analysis capabilities are working as intended.
|
| 3 | Some of these binaries are also executed as part of the test suite to
|
| 4 | test if the simulation engine provided by angr results in the same
|
| 5 | output as native execution of the binary.
|
| 6 |
|
| 7 | For Guix, this files as the glibc shared objects cannot be found.
|
| 8 | Additionally, we don't really want to execute pre-compiled binaries
|
| 9 | on Guix, hence we disable those tests.
|
| 10 |
|
| 11 | diff --git a/tests/procedures/glibc/test_ctype_locale.py b/tests/procedures/glib>
|
| 12 | index 005a1444e..c5649a54d 100755
|
| 13 | |
| 14 | |
| 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 |
|