public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] tcore.exp
@ 2010-03-19  1:16 Anthony Ton
  2010-03-19  4:47 ` Rishikesh K Rajak
  2010-03-22  6:41 ` Rishikesh K Rajak
  0 siblings, 2 replies; 4+ messages in thread
From: Anthony Ton @ 2010-03-19  1:16 UTC (permalink / raw)
  To: ltp-list@lists.sourceforge.net


[-- Attachment #1.1: Type: text/plain, Size: 1178 bytes --]

Hi Ltp team,

Hi LTP team,

It appears that the proc check_fpu in tcore.exp has an error when the expect can't find the expected string "xmm$num ...".  In the timeout block, the code read

fail "fail to check the xmm value(timeout)"

In my humble opinion, it should be

send_user "fail to check the xmm value(timeout)"

The script crashes with error message:

(gdb) invalid command name "fail"
    while executing
"fail "fail to check the xmm value(timeout)""
    invoked from within
"expect -nobrace -re {xmm5[      ]+{f = .*}+[    ]+{f = .*}} {
                        set buf $expect_out(0,string)
                } timeout {
                    fail "fail to check the xmm value(..."
    invoked from within
"expect {
                -re "xmm$num\[\t \]+\{f \= .*\}+\[\t \]+\{f \= .*\}" {
                        set buf $expect_out(0,string)
                }
                timeout {
                    fail "fail to check t..."
    (procedure "check_fpu" line 7)
    invoked from within
"check_fpu 5"
    (file "/opt/anthony/ltp/testcases/bin//tcore.exp" line 137)

Please let me know how to fix this error.

Thanks,
Anthony




[-- Attachment #1.2: Type: text/html, Size: 3148 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-22 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19  1:16 [LTP] tcore.exp Anthony Ton
2010-03-19  4:47 ` Rishikesh K Rajak
2010-03-22  6:41 ` Rishikesh K Rajak
2010-03-22 21:06   ` Anthony Ton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox