kgs wrote:
> kgs wrote:
>   
>> Hi all,
>> I've compiled sqlite3 for arm-linux(armv5t) as well as the tcl environment.
>> sqlite3 3.5.9
>> tcl 8.4
>>
>> I've run testfixture all.test on the hardware it's compiled for.
>> Everything runs great until we come to the crash4-1.1.1 up to 
>> crash4-1.1000.1.
>> the messages are :
>> Expected: [1 {child process exited abnormally}]
>>      Got: [1 {couldn't create error file for command: no such file or 
>> directory}]
>>
>> for each crash4-1.x.1, then :
>> *** Giving up...
>> 1000 errors out of 26715 tests
>>
>> the crash4-1.x.2 and crash4-1.x.3 return Ok.
>>
>> Any ideas as to what may be wrong ?
>>
>> Thanks in advance
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>   
>>     
> So this is apparently what is happening...
> this code in tester.tcl :
> set r [catch {
>     exec [info nameofexec] crash.tcl >@stdout
>   } msg]
>
> is returning :
> 1 {couldn't create error file for command: no such file or directory}
>
> so i think that >@stdout is trying to treat stdout as an open file... 
> but it doesn't exist.
>
> I'm guessing that stdout is supposed to be a fixed thing in tcl... and 
> that this is supposed to take the output from the exec and pipe it to 
> stdout.
>
> So... if this is how its supposed to work, then why isn't it ?
>
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>   
Never mind that last message, >@stdout puts the error message i'm 
getting in "msg" through the catch.
So that leaves, that the testfixture command is not being found.  I 
checked what "info nameofexec" is returning, and it returns the full 
path and name of testfixture.
When I run "testfixture crash.tcl", I get no error...  I am confused.

Forgive my babbling, this is my first day with tcl.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to