Lines Matching defs:test
13 * should make sure to test both regular streaming and mixes of
122 int test;
169 * can fxload it, and then run this test driver.
174 * - the device doesn't have the test firmware installed.
195 /* "gadget zero", Linux-USB test software */
208 /* some GPL'd test firmware uses these IDs */
306 if (dev->test != -1 && dev->test != i)
326 printf ("%s test %d --> %d (%s)\n",
329 printf ("%s test %d, %4d.%.06d secs\n", dev->name, i,
373 int test = -1 /* all */;
418 case 'n': /* no test running! */
425 case 't': /* run just one test */
426 test = atoi (optarg);
427 if (test < 0)
441 "\t-D dev only test specific device\n"
443 "\t-a test all recognized devices\n"
444 "\t-l loop forever(for stress test)\n"
446 "\t-n no test running, show devices to be tested\n"
472 /* collect and list the test devices */
478 /* quit, run single test, or create test threads */
480 fputs ("no test devices recognized\n", stderr);
492 entry->test = test;
506 /* kernel can recognize test devices we don't */
514 dev.test = test;