fix(cocotb): Correct decorator syntax in debug test
This commit fixes a syntax error in the `core_mini_axi_debug.py` test file where a `@cocotb.test` decorator was missing parentheses. It has been corrected to `@cocotb.test()`.
Additionally, the `core_mini_axi_debug_scalar_registers` test is now included in the `core_mini_axi_debug_cocotb` test suite in the BUILD file.
Change-Id: I0cb3216fd36da8db039b3202660cf6ef6c7d244e
diff --git a/tests/cocotb/BUILD b/tests/cocotb/BUILD
index 1dfea33..6855246 100644
--- a/tests/cocotb/BUILD
+++ b/tests/cocotb/BUILD
@@ -148,6 +148,7 @@
"core_mini_axi_debug_abstract_access_nonexistent_register",
"core_mini_axi_debug_single_step",
"core_mini_axi_debug_breakpoint",
+ "core_mini_axi_debug_scalar_registers",
]
# END_TESTCASES_FOR_core_mini_axi_debug_cocotb
diff --git a/tests/cocotb/core_mini_axi_debug.py b/tests/cocotb/core_mini_axi_debug.py
index 5439dc4..c539f8c 100644
--- a/tests/cocotb/core_mini_axi_debug.py
+++ b/tests/cocotb/core_mini_axi_debug.py
@@ -424,7 +424,7 @@
# Assert that the program eventually terminates successfully.
await core_mini_axi.wait_for_halted()
-@cocotb.test
+@cocotb.test()
async def core_mini_axi_debug_scalar_registers(dut):
core_mini_axi = CoreMiniAxiInterface(dut)
await core_mini_axi.init()