public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/31351] New: [gdb/testsuite] UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
@ 2024-02-07  8:34 vries at gcc dot gnu.org
  2024-02-27  9:07 ` [Bug testsuite/31351] " vries at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2024-02-07  8:34 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31351

            Bug ID: 31351
           Summary: [gdb/testsuite] UNRESOLVED: gdb.dap/ada-nested.exp:
                    compilation prog.adb
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

I ran the following loop:
...
$ for n in $(seq 1 100); do echo $n; ./test.sh 2>&1 | grep "# of " | sort -u;
cp gdb.log gdb.$n.log; done
...
where test.sh runs the dap tests.

I was surprised to see in the results:
...
$ grep UNRESOLVED: gdb.*.log
gdb.11.log:UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
gdb.29.log:UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
gdb.37.log:UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
gdb.72.log:UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
gdb.78.log:UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
gdb.79.log:UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb
...

The test run still produces the same amount of passes (minus one for the
compilation), so the compilation actually went fine (otherwise there wouldn't
be any passes).

When issuing a pass for the compilation, dejagnu changes it into an unresolved.

This is a carry-over of the ERROR seen in gdb.dap/pause.exp (see PR31275),
which is run just before.  

It thought we had fixed carrying over things from one test-case to another, but
it seems in this case we still have that problem.

FTR, running test.sh with bash -x gives:
...
+ make V=1 -O check 'RUNTESTFLAGS=gdb.dap/ada-arrays.exp gdb.dap/ada-nested.exp
gdb.dap/ada-scopes.exp gdb.dap/args-env.exp gdb.dap/assign.exp
gdb.dap/attach.exp gdb.dap/basic-dap.exp gdb.dap/bt-nodebug.exp
gdb.dap/catch-exception.exp gdb.dap/children.exp gdb.dap/cond-bp.exp
gdb.dap/cwd.exp gdb.dap/cxx-exception.exp gdb.dap/eof.exp gdb.dap/frameless.exp
gdb.dap/hover.exp gdb.dap/lazy-string.exp gdb.dap/log-message.exp
gdb.dap/memory.exp gdb.dap/modules.exp gdb.dap/pause.exp gdb.dap/ptrref.exp
gdb.dap/remote-dap.exp gdb.dap/rust-slices.exp gdb.dap/scopes.exp
gdb.dap/sources.exp gdb.dap/stack-format.exp gdb.dap/stop-at-main.exp
gdb.dap/terminate.exp gdb.dap/type_check.exp '
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2024-02-27 15:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07  8:34 [Bug testsuite/31351] New: [gdb/testsuite] UNRESOLVED: gdb.dap/ada-nested.exp: compilation prog.adb vries at gcc dot gnu.org
2024-02-27  9:07 ` [Bug testsuite/31351] " vries at gcc dot gnu.org
2024-02-27 15:24 ` cvs-commit at gcc dot gnu.org
2024-02-27 15:25 ` vries at gcc dot gnu.org

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).