1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/aparser/harness.awk
2000-05-16 15:03:48 +00:00

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);
}