app/test: convert all tests to register system
[dpdk.git] / app / test / test_pci.c
index 40095c6..e834c4d 100644 (file)
@@ -195,3 +195,9 @@ test_pci(void)
 
        return 0;
 }
+
+static struct test_command pci_cmd = {
+       .command = "pci_autotest",
+       .callback = test_pci,
+};
+REGISTER_TEST_COMMAND(pci_cmd);