Lines Matching defs:flavor
1144 * This is done by looking at executable name. If it contains "-flavor"
1150 * some/path/to/test_progs[-flavor], where -flavor part is optional.
1151 * First cut out "test_progs[-flavor]" part, then extract "flavor"
1154 const char *flavor = strrchr(exec_name, '/');
1156 if (!flavor)
1157 flavor = exec_name;
1159 flavor++;
1161 flavor = strrchr(flavor, '-');
1162 if (!flavor)
1164 flavor++;
1166 fprintf(stdout, "Switching to flavor '%s' subdirectory...\n", flavor);
1168 return chdir(flavor);