| -!- Netsplit *.net <-> *.split quits: juliusb_ | 02:40 | |
| rbarraud | turns out I've done something silly, like not | 08:36 |
|---|---|---|
| rbarraud | noticing parameters to a method being swapped) :P | 08:36 |
| rbarraud | 00:51 <jeremybennett_> public humiliation is what open source is | 08:36 |
| rbarraud | all about. I've done it enough myself. | 08:36 |
| rbarraud | 00:52 <jeremybennett_> For good measure I've just confused power | 08:36 |
| rbarraud | and energy in front of a workshop of UK | 08:36 |
| rbarraud | Academia's best and brightest low power | 08:36 |
| rbarraud | engineers | 08:37 |
| rbarraud | 00:55 <stekern> ;) | 08:37 |
| rbarraud | 00:59 <stekern> yeah, I guess I'm more afraid of the possibility of | 08:37 |
| rbarraud | wwasting peoples time with naive questions than of | 08:37 |
| rbarraud | the possibility of public humiliation | 08:37 |
| rbarraud | apologies guys: stoopid emacs/RCIRC fumble on my part :( | 08:40 |
| stekern | don't sweat it ;) | 08:44 |
| rbarraud | thanks - was half-expecting a kick | 08:49 |
| rbarraud | 'nite from antipodean VHDL'ers ;-) | 13:56 |
| stekern | sleep tight ;) | 14:04 |
| juliusb_ | ah downunder hey? | 14:07 |
| juliusb_ | hoo roo | 14:10 |
| juliusb_ | jeremybennett: I'm stumped | 21:12 |
| juliusb_ | i need to find out what the return code from the invocation of the or1ksim executable is in the TCL stuff in the dejaGNU testsuite | 21:12 |
| juliusb_ | but I have no idea how to do it | 21:13 |
| juliusb_ | been scouring the net trying to find out how to get the return code | 21:13 |
| juliusb_ | in or1ksim/tesuite/lib/or1ksim.exp we do the eval of $command_line | 21:13 |
| juliusb_ | well it's eval "spawn $command_line" | 21:14 |
| juliusb_ | but then how do we get the return code or1ksim gives back | 21:14 |
| jeremybennett | Let me just look at the code to refresh my memory. | 21:17 |
| jeremybennett | Ah yes. | 21:18 |
| jeremybennett | We aren't looking for the return code of Or1ksim itself, because this is a script using expect to look for particular output. | 21:19 |
| jeremybennett | I need to go back to my TCL manual and see how results are returned. It is quite likely the result of the eval command. | 21:19 |
| jeremybennett | If you put the command in [ ] it will return a result you can use. | 21:22 |
| jeremybennett | What happens if you use set res [spawn $command_line] | 21:23 |
| jeremybennett | Except you don't want to spawn - you want to just run the command. | 21:23 |
| jeremybennett | "set res [eval $command_line]" | 21:24 |
| jeremybennett | The trouble is that I am switching between PERL and TCL and get myself completely muddled on syntax and semantics. | 21:24 |
| juliusb_ | thanks the pointes, will try them out | 22:19 |
| juliusb_ | yes, the wich between perl and TCL can't be a nice one :) | 22:19 |
| juliusb_ | I don't know perl too much, and the bit of TCL I know makes me sick | 22:20 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!