Lines Matching defs:test
64 "Source types to test.");
104 static DEFINE_bool(ignoreSigInt, false, "ignore SIGINT signals during test execution");
140 static DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver.");
650 // to test grayscale, it should not reveal anything across various
730 // Only test kCroppedScanline_Mode when the alpha type is premul. The test is
820 // Push image generator GPU test.
1432 for (const skiatest::Test& test : skiatest::TestRegistry::Range()) {
1436 if (CommandLineFlags::ShouldSkip(FLAGS_match, test.fName)) {
1439 if (test.fNeedsGpu && FLAGS_gpu) {
1440 gSerialTests->push_back(test);
1441 } else if (test.fNeedsGraphite && FLAGS_graphite) {
1442 gSerialTests->push_back(test);
1443 } else if (!test.fNeedsGpu && !test.fNeedsGraphite && FLAGS_cpu) {
1444 gParallelTests->push_back(test);
1449 static void run_test(skiatest::Test test, const GrContextOptions& grCtxOptions) {
1460 if (!FLAGS_dryRun && !should_skip("_", "tests", "_", test.fName)) {
1463 test.modifyGrContextOptions(&options);
1465 skiatest::ReporterContext ctx(&reporter, SkString(test.fName));
1466 start("unit", "test", "", test.fName);
1467 test.run(&reporter, options);
1469 done("unit", "test", "", test.fName);
1564 for (skiatest::Test& test : *gParallelTests) {
1565 parallel.add([test, grCtxOptions] { run_test(test, grCtxOptions); });
1570 for (skiatest::Test& test : *gSerialTests) { run_test(test, grCtxOptions); }