summaryrefslogtreecommitdiff
path: root/sysutils/py-elf_diff/files
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2022-08-09 21:09:10 +0300
committerGleb Popov <arrowd@FreeBSD.org>2022-08-10 19:06:39 +0300
commitbf69c3fc581a7aaf2a05ade4d0338a10f4ec7042 (patch)
tree254a01b631e8f98264f6d157c3b162d76a3ce5c9 /sysutils/py-elf_diff/files
parentdevel/py-noseofyeti: Python codec that provides an RSpec style DSL for Python. (diff)
sysutils/py-elf_diff: Perform binary diff on ELF files.
Diffstat (limited to 'sysutils/py-elf_diff/files')
-rw-r--r--sysutils/py-elf_diff/files/patch-tests_test__cases_test__command__line__args.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/py-elf_diff/files/patch-tests_test__cases_test__command__line__args.py b/sysutils/py-elf_diff/files/patch-tests_test__cases_test__command__line__args.py
new file mode 100644
index 000000000000..2b7796167c3c
--- /dev/null
+++ b/sysutils/py-elf_diff/files/patch-tests_test__cases_test__command__line__args.py
@@ -0,0 +1,27 @@
+# test_{new,old}_mangling_file spins on cpu/hangs
+# patch them out for now
+
+--- tests/test_cases/test_command_line_args.py.orig 2021-12-21 08:01:58 UTC
++++ tests/test_cases/test_command_line_args.py
+@@ -305,10 +305,6 @@ class TestCommandLineArgs(ElfDiffExecutionMixin, TestC
+ f.write("Some additional new info")
+ self.runSimpleTest([("new_info_file", new_info_file)])
+
+- def test_new_mangling_file(self):
+- self.expected_return_code = RETURN_CODE_WARNINGS_OCCURRED
+- self.runSimpleTestGhs([("new_mangling_file", NEW_MANGLING_FILE_GHS)])
+-
+ def test_nm_command(self):
+ self.runSimpleTest(
+ [("nm_command", os.path.join(STANDARD_BIN_DIR, f"nm{EXE_SUFFIX}"))]
+@@ -336,10 +332,6 @@ class TestCommandLineArgs(ElfDiffExecutionMixin, TestC
+ with open(old_info_file, "w") as f:
+ f.write("Some additional old info")
+ self.runSimpleTest([("old_info_file", old_info_file)])
+-
+- def test_old_mangling_file(self):
+- self.expected_return_code = RETURN_CODE_WARNINGS_OCCURRED
+- self.runSimpleTestGhs([("old_mangling_file", OLD_MANGLING_FILE_GHS)])
+
+ def test_pdf_file(self):
+ pdf_file = "parameter_test_single_page_pair_report.pdf"