Re: Proposed new API call: testcase group {begin|end}
Tom Tromey <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Jacob" == Jacob Bachmeyer <[email protected]> writes: Jacob> API call: testcase group begin <name> Jacob> API call: testcase group end <name> Jacob> Begin or end test group <name> where <name> is either a string that Jacob> may contain multiple /-delimited parts or a Tcl list that will be Jacob> joined into such a string. Each call to "testcase group begin" must Jacob> have a matching call to "testcase group end" with exactly the same Jacob> name in both calls and both calls must be in the same file. How about just having a single call which takes a block of code: testcase group NAME { # your code here } This is easy to do in Tcl and will avoid any bugs involving incorrect pairing. Tom