Re: Proposed new API call: testcase group {begin|end}

2020-06-05 Thread Jacob Bachmeyer
Tom Tromey wrote: Jacob> Would passing a code block inhibit byte-compiliation? I have no idea. At least for gdb, I tend to doubt it would matter. Tcl's opportunistic JIT only applies to procedure bodies, so code running at top-level in a script file is never byte-compiled. Thanks for the sug

Re: Proposed new API call: testcase group {begin|end}

2020-06-05 Thread Tom Tromey
Jacob> Would passing a code block inhibit byte-compiliation? I have no idea. At least for gdb, I tend to doubt it would matter. Tom

Re: New API call: "testsuite has api call" [renamed]

2020-06-05 Thread Jacob Bachmeyer
Jacob Bachmeyer wrote: The proposed form is simple: testsuite has api call As an example [testsuite has api call testsuite file] returns 1 as does [testsuite has api call testsuite has api call]. Test scripts are expected to use this call along the lines of: if { [testsuite has api call s