From 058ecd89b45bf4e52194595a320e140483c93d30 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 May 2000 14:02:31 +0000 Subject: take the sructure name to run through vluke on the command line (This used to be commit 03fbe1b1514774c9f3c4d553ca3b5b019ba0b11f) --- source3/aparser/harness.awk | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'source3/aparser/harness.awk') diff --git a/source3/aparser/harness.awk b/source3/aparser/harness.awk index 00e3f44a68..f63863d638 100644 --- a/source3/aparser/harness.awk +++ b/source3/aparser/harness.awk @@ -1,13 +1,22 @@ function produce_harness(f, - LOCAL, v, struct_num) + LOCAL, v, struct_num, i) { 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); + + for (i=0;i