public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* CppParser.exp failures
@ 2006-11-27  9:29 Mark Wielaard
  2006-11-27 13:40 ` Stan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Wielaard @ 2006-11-27  9:29 UTC (permalink / raw)
  To: frysk

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Hi,

Is someone else seeing these CppParser.exp failures in frysk core?

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
WARNING: Couldn't find tool config file for unix, using default.
Running ../../frysk/frysk-core/testsuite/expr/CppParser.exp ...
/home/mark/src/frysk-obj/frysk-core
FAIL: where
FAIL: up
FAIL: down
FAIL: float_21
FAIL: double_21
FAIL: static_int
FAIL: static_class
FAIL: class
FAIL: arr_1
FAIL: arr_2
FAIL: arr_3

                === expr Summary ===

# of expected passes            9
# of unexpected failures        11
make[2]: *** [check-DEJAGNU] Error 1

expr.log attached.

Thanks,

Mark

[-- Attachment #2: expr.log --]
[-- Type: text/x-log, Size: 5509 bytes --]

Test Run By mark on Mon Nov 27 10:26:20 2006
Native configuration is x86_64-unknown-linux-gnu

		=== expr tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
WARNING: Couldn't find tool config file for unix, using default.
Running ../../frysk/frysk-core/testsuite/expr/CppParser.exp ...
Executing on host: cc ../../frysk/frysk-core/testsuite/expr/20061115-1.c  -O0 -g -c  -o /home/mark/src/frysk-obj/frysk-core/testsuite/20061115-1.o    (timeout = 300)
Executing on host: cc ../../frysk/frysk-core/testsuite/expr/20061115-2.c  -O0 -g -c  -o /home/mark/src/frysk-obj/frysk-core/testsuite/20061115-2.o    (timeout = 300)
Executing on host: cc /home/mark/src/frysk-obj/frysk-core/testsuite/20061115-1.o /home/mark/src/frysk-obj/frysk-core/testsuite/20061115-2.o  -o /home/mark/src/frysk-obj/frysk-core/testsuite/20061115.x    (timeout = 300)

(hpd) 
PASS: prompt
(hpd) print 2+2
4
(hpd) PASS: add

(hpd) attach loop.x 24481 -cli
(hpd) PASS: attach
where
java.lang.NullPointerException
   at frysk.cli.hpd.CLI$WhereHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: where
print int_21
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
PASS: int_21
Internal debugger error:  
(hpd) 
(hpd) up
java.lang.NullPointerException
   at frysk.cli.hpd.CLI$UpDownHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: up
print int_21
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
PASS: int_21
Internal debugger error:  
(hpd) 
(hpd) down
java.lang.NullPointerException
   at frysk.cli.hpd.CLI$UpDownHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: down
print float_21
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: float_21
print double_21
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: double_21
print static_int
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: static_int
print static_class
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: static_class
print class
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: class
print arr_1
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: arr_1
print arr_2
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: arr_2
print arr_3
java.lang.NullPointerException
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.expr.CppTreeParser.expr(hpd)
   at frysk.cli.hpd.SymTab.print(hpd)
   at frysk.cli.hpd.CLI$PrintHandler.handle(hpd)
   at frysk.cli.hpd.CLI.execCommand(hpd)
   at frysk.cli.hpd.hpd.main(hpd)
Internal debugger error:  
(hpd) 
(hpd) FAIL: arr_3

$ PASS: rcp prompt

$ xyz=3
3$ PASS: rcp assign
xya=4
4$ PASS: rcp assign
xy\b \b\b \bxy

xyz   xya
$ xyPASS: rcp tab
testcase ../../frysk/frysk-core/testsuite/expr/CppParser.exp completed in 110 seconds

		=== expr Summary ===

# of expected passes		9
# of unexpected failures	11
runtest completed at Mon Nov 27 10:28:11 2006

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

* Re: CppParser.exp failures
  2006-11-27  9:29 CppParser.exp failures Mark Wielaard
@ 2006-11-27 13:40 ` Stan Cox
  2006-11-27 15:31   ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Stan Cox @ 2006-11-27 13:40 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: frysk

On Mon, 2006-11-27 at 10:29 +0100, Mark Wielaard wrote:

> Is someone else seeing these CppParser.exp failures in frysk core?

I think the problem is that the hpd attach is failing because of the
FindProc interface changes, which causes all the subsequent tests to
fail since the process is not attached.



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

* Re: CppParser.exp failures
  2006-11-27 13:40 ` Stan Cox
@ 2006-11-27 15:31   ` Andrew Cagney
  2006-11-27 16:20     ` Stan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2006-11-27 15:31 UTC (permalink / raw)
  To: Stan Cox; +Cc: Mark Wielaard, frysk

It turns out that << make check >> doesn't require $(RUNTEST) (dejagnu), 
and so, when runtest is missing, will just skip the dejagnu tests 
instead of failing.  Ulgh!!  This explains why it was missed from 
testing.  I've created:
http://sourceware.org/bugzilla/show_bug.cgi?id=3579

Stan Cox wrote:
> On Mon, 2006-11-27 at 10:29 +0100, Mark Wielaard wrote:
>
>   
>> Is someone else seeing these CppParser.exp failures in frysk core?
>>     
>
> I think the problem is that the hpd attach is failing because of the
> FindProc interface changes, which causes all the subsequent tests to
> fail since the process is not attached.
>
>
>
>   

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

* Re: CppParser.exp failures
  2006-11-27 15:31   ` Andrew Cagney
@ 2006-11-27 16:20     ` Stan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Stan Cox @ 2006-11-27 16:20 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Mark Wielaard, frysk

That reminds me of something Andrew mentioned.
For better or for worse dejagnu users take for granted that dejagnu
posts results and leaves it as a user exercise to check them for
validity, unlike JUnit which stops when a test fails.


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

end of thread, other threads:[~2006-11-27 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-27  9:29 CppParser.exp failures Mark Wielaard
2006-11-27 13:40 ` Stan Cox
2006-11-27 15:31   ` Andrew Cagney
2006-11-27 16:20     ` Stan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).