| 1015 | } |
| 1016 | |
| 1017 | static int |
| 1018 | interrupt_testsuite_setup(void) |
| 1019 | { |
| 1020 | TEST_ASSERT_SUCCESS(read_test_vector(), "Test suite setup failed\n"); |
| 1021 | |
| 1022 | /* Enable interrupts */ |
| 1023 | intr_enabled = true; |
| 1024 | |
| 1025 | /* Special case for NULL device (RTE_BBDEV_OP_NONE) */ |
| 1026 | if (populate_active_devices() == 0 || |
| 1027 | test_vector.op_type == RTE_BBDEV_OP_NONE) { |
| 1028 | intr_enabled = false; |
| 1029 | printf("No suitable devices found!\n"); |
| 1030 | return TEST_SKIPPED; |
| 1031 | } |
| 1032 | |
| 1033 | return TEST_SUCCESS; |
| 1034 | } |
| 1035 | |
| 1036 | static void |
| 1037 | testsuite_teardown(void) |
nothing calls this directly
no test coverage detected