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"] = "io_" v["STRUCTNAME"]; print_template(f, "harness_start.tpl", v); }