diff options
Diffstat (limited to 'cts/interrupt')
-rw-r--r-- | cts/interrupt/cts.testlist | 12 | ||||
-rw-r--r-- | cts/interrupt/dut.c | 3 | ||||
-rw-r--r-- | cts/interrupt/th.c | 3 |
3 files changed, 10 insertions, 8 deletions
diff --git a/cts/interrupt/cts.testlist b/cts/interrupt/cts.testlist index 6e0265ed60..0fdaf6fca2 100644 --- a/cts/interrupt/cts.testlist +++ b/cts/interrupt/cts.testlist @@ -4,14 +4,14 @@ */ /* Test interrupt_enable/disable */ -CTS_TEST(test_interrupt_enable) -CTS_TEST(test_interrupt_disable) +CTS_TEST(test_interrupt_enable,,,,) +CTS_TEST(test_interrupt_disable,,,,) /* Test task_wait_for_event */ -CTS_TEST(test_task_wait_event) +CTS_TEST(test_task_wait_event,,,,) /* Test task_disable_irq */ -CTS_TEST(test_task_disable_irq) +CTS_TEST(test_task_disable_irq,,,,) /* Test nested interrupt. Lower priority IRQ is fired, followed by * higher priority IRQ. Handler executions should be nested. @@ -23,7 +23,7 @@ CTS_TEST(test_task_disable_irq) * task_cts ----* *---- * A B C D */ -CTS_TEST(test_nested_interrupt_low_high) +CTS_TEST(test_nested_interrupt_low_high,,,,) /* Test nested interrupt. Higher priority IRQ is fired, followed by * lower priority IRQ. Handlers should be executed sequentially. @@ -35,7 +35,7 @@ CTS_TEST(test_nested_interrupt_low_high) * task_cts ----* *---- * B C A D */ -CTS_TEST(test_nested_interrupt_high_low) +CTS_TEST(test_nested_interrupt_high_low,,,,) /* * Other ideas diff --git a/cts/interrupt/dut.c b/cts/interrupt/dut.c index a04d5659d5..35b47001ca 100644 --- a/cts/interrupt/dut.c +++ b/cts/interrupt/dut.c @@ -185,9 +185,10 @@ void cts_task(void) for (i = 0; i < CTS_TEST_ID_COUNT; i++) { clear_state(); sync(); + CPRINTF("\n%s start\n", tests[i].name); rc = tests[i].run(); interrupt_enable(); - CPRINTF("\n%s %d\n", tests[i].name, rc); + CPRINTF("\n%s end %d\n", tests[i].name, rc); cflush(); } diff --git a/cts/interrupt/th.c b/cts/interrupt/th.c index 0949faa8b2..b409fbd8ef 100644 --- a/cts/interrupt/th.c +++ b/cts/interrupt/th.c @@ -74,8 +74,9 @@ void cts_task(void) gpio_set_level(GPIO_OUTPUT_TEST, 1); gpio_set_level(GPIO_CTS_IRQ2, 1); sync(); + CPRINTF("\n%s start\n", tests[i].name); rc = tests[i].run(); - CPRINTF("\n%s %d\n", tests[i].name, rc); + CPRINTF("\n%s end %d\n", tests[i].name, rc); cflush(); } |