Am 21.09.2021 um 16:10 schrieb atecon:
Hi Hélio,
Good idea. By the way, we have in our workspace repository a folder
where to put tests into. Have a look here, please:
I'm not sure the workspace
area is open to the public. In fact I think
it shouldn't be. Of course, members of the devel list are not the same
as the general public, but that's the situation I think.
1. Create a ascii file with all commands parsed from somewhere (I
think we already a have a job for this); delimited by \n
2. Execute a gretl job which
a) loops over each line of this ascii file,
b) store a text file (foo.inp) with the content: 'CMD' where 'CDM'
is for instance 'ols',
c) execute another gretl job using the 'shell' command: 'gretlcli
foo.inp'
I don't think it's enough to check the CLI program gretlcli, some
bugs/crashes are specific to the GUI program gretl_x11 (gretlw32.exe on
Windows, and perhaps something else on Mac.
But actually, a pure hansl script can go a long way I believe. Like this:
<hansl>
loop foreach i sscanf # add more command names later
$i
endloop
</hansl>
This already crashes the GUI program for me here.
thanks
sven