diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-16 15:03:48 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-16 15:03:48 +0000 |
commit | 9b863398690af5ea356506a7f51da8a862b45087 (patch) | |
tree | c792ee476656bcb12aebffc85eee8f3c47839053 /source3/aparser/harness.awk | |
parent | 058ecd89b45bf4e52194595a320e140483c93d30 (diff) | |
download | samba-9b863398690af5ea356506a7f51da8a862b45087.tar.gz samba-9b863398690af5ea356506a7f51da8a862b45087.tar.bz2 samba-9b863398690af5ea356506a7f51da8a862b45087.zip |
the vluke program now takes a structure name on the command line
(This used to be commit 6a3e7ba4f0716eb414daba4ab8aae974db4deba0)
Diffstat (limited to 'source3/aparser/harness.awk')
-rw-r--r-- | source3/aparser/harness.awk | 9 |
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++; -} |