16 const char* worklistPath,
18 std::string inputPath(worklistPath);
20 printf(
"expected .worklist file, found: %s\n\n", worklistPath);
27 std::vector<std::string>
args = {
"sksl"};
28 std::ifstream in(worklistPath);
29 for (std::string
line; std::getline(in,
line); ) {
31 printf(
"error reading '%s'\n", worklistPath);
42 resultCode =
std::max(resultCode, outcome);
51 if (
args.size() > 1) {
53 resultCode =
std::max(resultCode, outcome);
ResultCode ProcessWorklist(const char *worklistPath, const std::function< ResultCode(SkSpan< std::string > args)> &processCommandFn)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
Dart_NativeFunction function
static float max(float r, float g, float b)
std::string printf(const char *fmt,...) SK_PRINTF_LIKE(1
constexpr bool ends_with(std::string_view str, std::string_view suffix)