test: fixed uncorrect interrupt type

Message ID 20181116170400.76667-1-qiming.yang@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series test: fixed uncorrect interrupt type |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail Compilation issues
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Qiming Yang Nov. 16, 2018, 5:04 p.m. UTC
  Fixed the interrupt type using error. Check valid alarm should use
TEST_INTERRUPT_HANDLE_VALID_ALARM.

Fixes: 493b8e173fe6 ("eal: add device event handle in interrupt thread")

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
---
 test/test/test_interrupts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon Nov. 18, 2018, 10:10 p.m. UTC | #1
16/11/2018 18:04, Qiming Yang:
> Fixed the interrupt type using error. Check valid alarm should use
> TEST_INTERRUPT_HANDLE_VALID_ALARM.
> 
> Fixes: 493b8e173fe6 ("eal: add device event handle in interrupt thread")
> 
> Signed-off-by: Qiming Yang <qiming.yang@intel.com>

Applied, thanks
  

Patch

diff --git a/test/test/test_interrupts.c b/test/test/test_interrupts.c
index dc19175..4e82e9a 100644
--- a/test/test/test_interrupts.c
+++ b/test/test/test_interrupts.c
@@ -424,7 +424,7 @@  test_interrupt(void)
 
 	printf("Check valid alarm interrupt full path\n");
 	if (test_interrupt_full_path_check(
-		TEST_INTERRUPT_HANDLE_VALID_DEV_EVENT) < 0) {
+		TEST_INTERRUPT_HANDLE_VALID_ALARM) < 0) {
 		printf("failure occurred during checking valid alarm "
 						"interrupt full path\n");
 		goto out;