Re: [tclwebtest] Passing variable parameters to test scripts
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-01-22 17:35:29
|
On Wed, Jan 22, 2003 at 06:23:44AM +0000, Tilmann Singer wrote: > Looking at run_test it occurs to me that Peter Marklund contributed > a nice -config_file switch, to solve the settings problem more > elegantly. Maybe this can be used in your project? Yes, this is what I would need, got it from CVS. > By the way, did you try to source tclwebtest into aolserver (not > very efficient, I know) like in the example I sent you and run > the tests you retrieve from the db with the run_test command? It > might not be necessary to put them in a /tmp/ file and run them > from there. Well, the example you sent still created temporary files. I'm attaching a patch which adds a new switch to run_test modifying the behaviour of log, debug and the other switches. I've run this successfully over a serie of files. The difference is that now all input/output is treated as a string, more easy to handle from a superior script. -- Grzegorz Adam Hankiewicz, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |