File: harness.awk

package info (click to toggle)
samba 3.0.14a-3sarge11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 41,300 kB
  • ctags: 34,258
  • sloc: ansic: 272,220; sh: 6,859; perl: 6,419; makefile: 2,548; python: 2,315; awk: 1,435; exp: 1,147; yacc: 880; csh: 58; sed: 45
file content (17 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}