Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/testsuite/ada] KFAIL the tests that use "start"
@ 2005-03-07 20:36 Joel Brobecker
  2005-03-07 20:38 ` Daniel Jacobowitz
  2005-03-08  6:47 ` Joel Brobecker
  0 siblings, 2 replies; 7+ messages in thread
From: Joel Brobecker @ 2005-03-07 20:36 UTC (permalink / raw)
  To: gdb-patches

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

Hello,

As suggested in http://sources.redhat.com/ml/gdb/2005-03/msg00067.html,
I am posting a patch that KFAILs the two tests that currently fail
while a patch fixing the problem is being reviewed.

2005-03-07  Joel Brobecker  <brobecker@adacore.com>

        * gdb.ada/null_record.exp: KFAIL failing "start" test.
        * gdb.ada/start.exp: Likewise.

Tested on x86-linux, changes the FAIL to a KFAIL.
Ok to apply?

Thanks,
-- 
Joel

[-- Attachment #2: ada-ts.diff --]
[-- Type: text/plain, Size: 1213 bytes --]

Index: gdb.ada/null_record.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/null_record.exp,v
retrieving revision 1.6
diff -u -p -r1.6 null_record.exp
--- gdb.ada/null_record.exp	24 Feb 2005 23:54:03 -0000	1.6
+++ gdb.ada/null_record.exp	7 Mar 2005 20:31:54 -0000
@@ -36,6 +36,9 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
+# The "start" command is not yet fully implemented for Ada.
+setup_kfail *-*-* "ada/1892"
+
 gdb_test "start" \
          "null_record \\(\\) at .*null_record.adb.*" \
          "start"
Index: gdb.ada/start.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/start.exp,v
retrieving revision 1.2
diff -u -p -r1.2 start.exp
--- gdb.ada/start.exp	24 Feb 2005 23:54:03 -0000	1.2
+++ gdb.ada/start.exp	7 Mar 2005 20:31:54 -0000
@@ -36,6 +36,9 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
+# The "start" command is not yet fully implemented for Ada.
+setup_kfail *-*-* "ada/1892"
+
 # Verify that "start" lands inside the right procedure.
 gdb_test "start" \
          "dummy \\(\\) at .*dummy.adb.*" \

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

* Re: [RFA/testsuite/ada] KFAIL the tests that use "start"
  2005-03-07 20:36 [RFA/testsuite/ada] KFAIL the tests that use "start" Joel Brobecker
@ 2005-03-07 20:38 ` Daniel Jacobowitz
  2005-03-07 20:42   ` Joel Brobecker
  2005-03-08  6:47 ` Joel Brobecker
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel Jacobowitz @ 2005-03-07 20:38 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Mon, Mar 07, 2005 at 12:36:08PM -0800, Joel Brobecker wrote:
> Hello,
> 
> As suggested in http://sources.redhat.com/ml/gdb/2005-03/msg00067.html,
> I am posting a patch that KFAILs the two tests that currently fail
> while a patch fixing the problem is being reviewed.
> 
> 2005-03-07  Joel Brobecker  <brobecker@adacore.com>
> 
>         * gdb.ada/null_record.exp: KFAIL failing "start" test.
>         * gdb.ada/start.exp: Likewise.
> 
> Tested on x86-linux, changes the FAIL to a KFAIL.
> Ok to apply?

What Ada test results do you have with this patch?  I have more than
two failures; IIRC, there were four, all related.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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

* Re: [RFA/testsuite/ada] KFAIL the tests that use "start"
  2005-03-07 20:38 ` Daniel Jacobowitz
@ 2005-03-07 20:42   ` Joel Brobecker
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Brobecker @ 2005-03-07 20:42 UTC (permalink / raw)
  To: gdb-patches

> What Ada test results do you have with this patch?  I have more than
> two failures; IIRC, there were four, all related.

This is what I have:

    Running ../.././gdb/testsuite/gdb.ada/fixed_points.exp ...
    PASS: gdb.ada/fixed_points.exp: p on a fixed point type
    PASS: gdb.ada/fixed_points.exp: p on a subtype fixed point type
    PASS: gdb.ada/fixed_points.exp: p on a new fixed point type
    Running ../.././gdb/testsuite/gdb.ada/null_record.exp ...
    KFAIL: gdb.ada/null_record.exp: start (PRMS: ada/1892)
    PASS: gdb.ada/null_record.exp: ptype on null record
    Running ../.././gdb/testsuite/gdb.ada/packed_array.exp ...
    PASS: gdb.ada/packed_array.exp: print var
    Running ../.././gdb/testsuite/gdb.ada/start.exp ...
    KFAIL: gdb.ada/start.exp: start (PRMS: ada/1892)

Could you send me your logs. I only had 2 failures on my side.
Perhaps there's something else going on because I use a different
compiler than you do?

-- 
Joel


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

* Re: [RFA/testsuite/ada] KFAIL the tests that use "start"
  2005-03-07 20:36 [RFA/testsuite/ada] KFAIL the tests that use "start" Joel Brobecker
  2005-03-07 20:38 ` Daniel Jacobowitz
@ 2005-03-08  6:47 ` Joel Brobecker
  2005-03-09 17:49   ` Paul Gilliam
  1 sibling, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2005-03-08  6:47 UTC (permalink / raw)
  To: gdb-patches

> As suggested in http://sources.redhat.com/ml/gdb/2005-03/msg00067.html,
> I am posting a patch that KFAILs the two tests that currently fail
> while a patch fixing the problem is being reviewed.
> 
> 2005-03-07  Joel Brobecker  <brobecker@adacore.com>
> 
>         * gdb.ada/null_record.exp: KFAIL failing "start" test.
>         * gdb.ada/start.exp: Likewise.

Since the fix has recently been checked in, the problem no longer
exist, and I therefore withdraw this patch. The GDB PR has also
been closed.

-- 
Joel


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

* Re: [RFA/testsuite/ada] KFAIL the tests that use "start"
  2005-03-08  6:47 ` Joel Brobecker
@ 2005-03-09 17:49   ` Paul Gilliam
  2005-03-09 17:52     ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Gilliam @ 2005-03-09 17:49 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

On Monday 07 March 2005 22:46, Joel Brobecker wrote:
> > As suggested in http://sources.redhat.com/ml/gdb/2005-03/msg00067.html,
> > I am posting a patch that KFAILs the two tests that currently fail
> > while a patch fixing the problem is being reviewed.
> >
> > 2005-03-07  Joel Brobecker  <brobecker@adacore.com>
> >
> >         * gdb.ada/null_record.exp: KFAIL failing "start" test.
> >         * gdb.ada/start.exp: Likewise.
>
> Since the fix has recently been checked in, the problem no longer
> exist, and I therefore withdraw this patch. The GDB PR has also
> been closed.

If the testsuite is to be used for regression testing, then you should not 
remove a test because the problem it identifies has been fixed.

-=# Paul Gilliam #=-


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

* Re: [RFA/testsuite/ada] KFAIL the tests that use "start"
  2005-03-09 17:49   ` Paul Gilliam
@ 2005-03-09 17:52     ` Joel Brobecker
  2005-03-09 18:17       ` Paul Gilliam
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2005-03-09 17:52 UTC (permalink / raw)
  To: Paul Gilliam; +Cc: gdb-patches

> > > 2005-03-07  Joel Brobecker  <brobecker@adacore.com>
> > >
> > >         * gdb.ada/null_record.exp: KFAIL failing "start" test.
> > >         * gdb.ada/start.exp: Likewise.
> >
> > Since the fix has recently been checked in, the problem no longer
> > exist, and I therefore withdraw this patch. The GDB PR has also
> > been closed.
> 
> If the testsuite is to be used for regression testing, then you should not 
> remove a test because the problem it identifies has been fixed.

Right. The testcases remain, but I no longer need to KFAIL them, as
they now PASS.

-- 
Joel


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

* Re: [RFA/testsuite/ada] KFAIL the tests that use "start"
  2005-03-09 17:52     ` Joel Brobecker
@ 2005-03-09 18:17       ` Paul Gilliam
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Gilliam @ 2005-03-09 18:17 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

On Wednesday 09 March 2005 09:51, Joel Brobecker wrote:
> > > > 2005-03-07  Joel Brobecker  <brobecker@adacore.com>
> > > >
> > > >         * gdb.ada/null_record.exp: KFAIL failing "start" test.
> > > >         * gdb.ada/start.exp: Likewise.
> > >
> > > Since the fix has recently been checked in, the problem no longer
> > > exist, and I therefore withdraw this patch. The GDB PR has also
> > > been closed.
> >
> > If the testsuite is to be used for regression testing, then you should
> > not remove a test because the problem it identifies has been fixed.
>
> Right. The testcases remain, but I no longer need to KFAIL them, as
> they now PASS.
Ah, I see.   Thanks for the clearification (or education ;-)

-=# Paul #=-


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

end of thread, other threads:[~2005-03-09 18:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07 20:36 [RFA/testsuite/ada] KFAIL the tests that use "start" Joel Brobecker
2005-03-07 20:38 ` Daniel Jacobowitz
2005-03-07 20:42   ` Joel Brobecker
2005-03-08  6:47 ` Joel Brobecker
2005-03-09 17:49   ` Paul Gilliam
2005-03-09 17:52     ` Joel Brobecker
2005-03-09 18:17       ` Paul Gilliam

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