| 433 | } |
| 434 | |
| 435 | int |
| 436 | test_rawdev_skeldev(uint16_t dev_id) |
| 437 | { |
| 438 | test_dev_id = dev_id; |
| 439 | testsuite_setup(); |
| 440 | |
| 441 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_count); |
| 442 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_get_dev_id); |
| 443 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_socket_id); |
| 444 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_info_get); |
| 445 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_configure); |
| 446 | SKELDEV_TEST_RUN(test_rawdev_configure, NULL, |
| 447 | test_rawdev_queue_default_conf_get); |
| 448 | SKELDEV_TEST_RUN(test_rawdev_configure, NULL, test_rawdev_queue_setup); |
| 449 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_queue_count); |
| 450 | SKELDEV_TEST_RUN(test_rawdev_queue_setup, NULL, |
| 451 | test_rawdev_queue_release); |
| 452 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_attr_set_get); |
| 453 | SKELDEV_TEST_RUN(NULL, NULL, test_rawdev_start_stop); |
| 454 | SKELDEV_TEST_RUN(test_rawdev_queue_setup, NULL, test_rawdev_enqdeq); |
| 455 | |
| 456 | testsuite_teardown(); |
| 457 | |
| 458 | SKELDEV_TEST_INFO("Total tests : %d", total); |
| 459 | SKELDEV_TEST_INFO("Passed : %d", passed); |
| 460 | SKELDEV_TEST_INFO("Failed : %d", failed); |
| 461 | SKELDEV_TEST_INFO("Not supported : %d", unsupported); |
| 462 | |
| 463 | if (failed) |
| 464 | return -1; |
| 465 | |
| 466 | return 0; |
| 467 | }; |
no test coverage detected