]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_memcpy_perf.c
app/test: convert all tests to register system
[dpdk.git] / app / test / test_memcpy_perf.c
index f6b95c9ad311f8fcb0a5487566fed0721c350248..7809610c90c5c592a988bc73f2e560b464573cf1 100644 (file)
@@ -278,7 +278,7 @@ perf_test(void)
 }
 
 
-int
+static int
 test_memcpy_perf(void)
 {
        int ret;
@@ -288,3 +288,9 @@ test_memcpy_perf(void)
                return -1;
        return 0;
 }
+
+static struct test_command memcpy_perf_cmd = {
+       .command = "memcpy_perf_autotest",
+       .callback = test_memcpy_perf,
+};
+REGISTER_TEST_COMMAND(memcpy_perf_cmd);