Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def _disassemble_verbose_symbol(self, symname):
self.runCmd(f"disassemble -n {symname} -v", check=True)
return self.res.GetOutput()

@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_d_original_example_O1(self):
obj = self._build_obj("d_original_example.o")
Expand All @@ -34,6 +36,8 @@ def test_d_original_example_O1(self):
self.assertNotIn("<decoding error>", out)

@no_debug_info_test
@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_regs_int_params(self):
obj = self._build_obj("regs_int_params.o")
Expand All @@ -49,6 +53,8 @@ def test_regs_int_params(self):
self.assertNotIn("<decoding error>", out)

@no_debug_info_test
@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_regs_fp_params(self):
obj = self._build_obj("regs_fp_params.o")
Expand All @@ -64,6 +70,8 @@ def test_regs_fp_params(self):
self.assertNotIn("<decoding error>", out)

@no_debug_info_test
@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_regs_mixed_params(self):
obj = self._build_obj("regs_mixed_params.o")
Expand All @@ -79,6 +87,8 @@ def test_regs_mixed_params(self):
self.assertNotIn("<decoding error>", out)

@no_debug_info_test
@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_live_across_call(self):
obj = self._build_obj("live_across_call.o")
Expand All @@ -91,6 +101,8 @@ def test_live_across_call(self):
self.assertNotIn("<decoding error>", out)

@no_debug_info_test
@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_loop_reg_rotate(self):
obj = self._build_obj("loop_reg_rotate.o")
Expand All @@ -105,6 +117,8 @@ def test_loop_reg_rotate(self):
self.assertNotIn("<decoding error>", out)

@no_debug_info_test
@skipIfWindows
@skipUnlessPlatform(["linux", "freebsd", "netbsd"])
@skipIf(archs=no_match(["x86_64"]))
def test_seed_reg_const_undef(self):
obj = self._build_obj("seed_reg_const_undef.o")
Expand Down
Loading