summaryrefslogtreecommitdiff
path: root/source3/aparser/harness.awk
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/harness.awk')
-rw-r--r--source3/aparser/harness.awk9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/aparser/harness.awk b/source3/aparser/harness.awk
index f63863d638..6c4c35c40f 100644
--- a/source3/aparser/harness.awk
+++ b/source3/aparser/harness.awk
@@ -7,16 +7,11 @@ function produce_harness(f,
print_template(f, "harness_start.tpl", v);
- for (i=0;i<num_tests;i++) {
- v["TEST"] = tests[i];
+ 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);
}
-function add_test(test)
-{
- tests[num_tests] = test;
- num_tests++;
-}