1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source/aparser/harness.awk

18 lines
307 B
Awk

function produce_harness(f,
LOCAL, v, struct_num, i)
{
struct_num=structs[test];
v["MODULE"]=module;
print_template(f, "harness_start.tpl", v);
for (i=0;i<num_structs;i++) {
v["TEST"] = structs[i, "name"];
print_template(f, "harness.tpl", v);
}
print_template(f, "harness_end.tpl", v);
}