]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_cycles.c
app/test: filter out unavailable tests
[dpdk.git] / app / test / test_cycles.c
index b8d66a09f53d20a11084bce70bf1d59b8e1dfc82..f6c043a463748adb9bd036ca4978a9fbcfdd3b5f 100644 (file)
@@ -52,7 +52,7 @@
  *   of cycles is correct with regard to the frequency of the timer.
  */
 
-int
+static int
 test_cycles(void)
 {
        unsigned i;
@@ -88,3 +88,5 @@ test_cycles(void)
 
        return 0;
 }
+
+REGISTER_TEST_COMMAND(cycles_autotest, test_cycles);