Enhance UAO templating to recognize "aoseg" and "aocsseg" keywords.
This is useful if a test wants to use gp_toolkit.__gp_{aoseg|aocsseg}*
functions.
@@ -428,7 +428,13 @@ convert_line(char *line, replacements *repls)
replace_string(line, "@DLSUFFIX@", repls->dlsuffix);
replace_string(line, "@bindir@", repls->bindir);
if (repls->orientation)
+ {
replace_string(line, "@orientation@", repls->orientation);
+ if (strcmp(repls->orientation, "row") == 0)
+ replace_string(line, "@aoseg@", "aoseg");
+ else
+ replace_string(line, "@aoseg@", "aocsseg");
+ }
}
/*
