public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/25667] New: If gdb.linespec/cpcompletion.exp fails, it's too slow
@ 2020-03-13  9:41 vries at gcc dot gnu.org
  2020-03-17  9:04 ` [Bug testsuite/25667] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2020-03-13  9:41 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 25667
           Summary: If gdb.linespec/cpcompletion.exp fails, it's too slow
           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: ---

When running exotic testsuite configuration, say
unix/-flto/-O0/-flto-partition=none, lots of tests will fail.

However, the failure mode of gdb.linespec/cpcompletion.exp in particular is
annoying:
...
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_" (second tab) (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_st" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_st"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_str" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_str"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_stru" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_stru"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struc" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struc"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<t" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<t"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<te" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<te"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<tem" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<tem"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<temp" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<temp"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<templ" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<templ"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<templa" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<templa"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<templat" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<templat"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_r" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_r"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_re" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_re"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_t" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_t"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_ty" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_ty"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_typ" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_typ"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<i" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<i"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<in" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<in"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int>" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int>"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> " (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> "
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >:" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >:"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::t" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::t"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::te" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::te"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::tem" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::tem"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::temp" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::temp"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::templ" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::templ"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::templa" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::templa"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::templat" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::templat"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_f" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_f"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<i" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<i"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<in" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<in"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int," (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int,"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, " (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, "
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, i" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, i"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, in" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, in"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, int" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, int"
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: tab complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, int>" (timeout)
FAIL: gdb.linespec/cpcompletion.exp: template-ret-type: cmd complete "b
template2_struct<template2_ret_type<int> >::template2_fn<int, int>"
<etc>
...

At the point of n subsequent fails, we should bail out.

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

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

* [Bug testsuite/25667] If gdb.linespec/cpcompletion.exp fails, it's too slow
  2020-03-13  9:41 [Bug testsuite/25667] New: If gdb.linespec/cpcompletion.exp fails, it's too slow vries at gcc dot gnu.org
@ 2020-03-17  9:04 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2020-03-17  9:04 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Patch submitted here:
https://sourceware.org/pipermail/gdb-patches/2020-March/166694.html .

And accidentally committed here:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7325b16ba4dc33a54356fd2b8fde79311c51b121

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

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

end of thread, other threads:[~2020-03-17  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13  9:41 [Bug testsuite/25667] New: If gdb.linespec/cpcompletion.exp fails, it's too slow vries at gcc dot gnu.org
2020-03-17  9:04 ` [Bug testsuite/25667] " 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).