app/test: filter out unavailable tests
[dpdk.git] / app / test / test_cycles.c
index b8d66a0..f6c043a 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);