summaryrefslogtreecommitdiff
path: root/source3/aparser/harness.awk
blob: 345fd6e1916c2a5f5161e40e6688300a672e7789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function produce_harness(f,
			 LOCAL, v, struct_num)
{
	struct_num=structs[test];

	v["MODULE"]=module;
	v["TEST"]=test;
	v["TEST_FUNC"]=moduletest;
	v["STRUCTNAME"] = structs[struct_num, "name"];
	v["FUNCNAME"] = v["MODULE"] "_io_" v["STRUCTNAME"];

	print_template(f, "harness_start.tpl", v);
}