public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib
@ 2009-04-10 23:23 hjl dot tools at gmail dot com
2009-04-11 0:55 ` [Bug testsuite/39733] " hjl dot tools at gmail dot com
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-10 23:23 UTC (permalink / raw)
To: gcc-bugs
On Linux/x86-64 with multilib, gcc.misc-tests/help.exp failed:
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg01053.html
FAIL: compiler driver -v --help option(s) (assembler options)
FAIL: compiler driver -v --help option(s) (linker options)
FAIL: compiler driver -v --help option(s) (assembler options)
FAIL: compiler driver --help=optimizers option(s) (assembler options)
FAIL: compiler driver --help=params option(s) (assembler options)
FAIL: compiler driver --help=C option(s) (assembler options)
FAIL: compiler driver --help=C++ option(s) (assembler options)
FAIL: compiler driver --help=common option(s) (assembler options)
FAIL: compiler driver --help=undocumented option(s) (linker options)
FAIL: compiler driver --help=^undocumented option(s) (compiler options)
FAIL: compiler driver --help=target,undocumented option(s) (linker options)
FAIL: compiler driver --help=target,optimizers option(s) (linker options)
FAIL: compiler driver --help=warnings,^joined,^undocumented option(s) (linker
options)
FAIL: compiler driver -Q -O2 --help=optimizers option(s) (compiler options)
FAIL: compiler driver -Q -O3 --help=optimizers option(s) (compiler options)
FAIL: compiler driver --help=params --help=optimizers option(s) (compiler
options)
FAIL: compiler driver --help=joined option(s) (assembler options)
FAIL: compiler driver --help=separate option(s) (assembler options)
FAIL: compiler driver --help=warnings,joined option(s) (assembler options)
FAIL: compiler driver --help=warnings,^joined option(s) (assembler options)
FAIL: compiler driver --help=joined,separate option(s) (linker options)
FAIL: compiler driver --help=^joined,separate option(s) (linker options)
FAIL: compiler driver --help=joined,^separate option(s) (linker options)
FAIL: compiler driver --help=joined,undocumented option(s) (linker options)
FAIL: compiler driver --help=^joined,^separate option(s) (linker options)
on the second run, which has has
Running
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.misc-tests/help.exp
...
Executing on host: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/gcc/ test-17145.c --help -v -lm -o
test-17145.x (timeout = 300)
That is an extra "-v" after --help.
--
Summary: gcc.misc-tests/help.exp doesn't work with multilib
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
@ 2009-04-11 0:55 ` hjl dot tools at gmail dot com
2009-04-11 1:05 ` hjl dot tools at gmail dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-11 0:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2009-04-11 00:55 -------
The problem is both lib/options.exp and gcc.misc-tests/options.exp
define check_for_options. But they take different parameters and are
different. gcc.misc-tests/help.exp has
load_lib options.exp
But you really don't know for sure which check_for_options is used.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
2009-04-11 0:55 ` [Bug testsuite/39733] " hjl dot tools at gmail dot com
@ 2009-04-11 1:05 ` hjl dot tools at gmail dot com
2009-04-11 1:05 ` hjl dot tools at gmail dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-11 1:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2009-04-11 01:05 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00852.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2009-
| |04/msg00852.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
2009-04-11 0:55 ` [Bug testsuite/39733] " hjl dot tools at gmail dot com
2009-04-11 1:05 ` hjl dot tools at gmail dot com
@ 2009-04-11 1:05 ` hjl dot tools at gmail dot com
2009-04-11 1:06 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-11 1:05 UTC (permalink / raw)
To: gcc-bugs
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2009-04-11 1:05 ` hjl dot tools at gmail dot com
@ 2009-04-11 1:06 ` pinskia at gcc dot gnu dot org
2009-04-13 13:12 ` hjl dot tools at gmail dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-11 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-11 01:06 -------
Confirmed, please stop setting the target milestone unless the bug is a
regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |patch
Last reconfirmed|0000-00-00 00:00:00 |2009-04-11 01:06:50
date| |
Target Milestone|4.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2009-04-11 1:06 ` pinskia at gcc dot gnu dot org
@ 2009-04-13 13:12 ` hjl dot tools at gmail dot com
2009-04-13 13:17 ` rwild at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-13 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hjl dot tools at gmail dot com 2009-04-13 13:11 -------
*** Bug 39749 has been marked as a duplicate of this bug. ***
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dominiq at lps dot ens dot
| |fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2009-04-13 13:12 ` hjl dot tools at gmail dot com
@ 2009-04-13 13:17 ` rwild at gcc dot gnu dot org
2009-04-13 13:30 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-04-13 13:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rwild at gcc dot gnu dot org 2009-04-13 13:17 -------
HJ, can you please show verbose log output from the failed tests that proves
that this bug and the other one are indeed duplicates? I don't see why on
GNU/Linux, as should fail when passed --help
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (5 preceding siblings ...)
2009-04-13 13:17 ` rwild at gcc dot gnu dot org
@ 2009-04-13 13:30 ` hjl dot tools at gmail dot com
2009-04-13 15:12 ` hjl dot tools at gmail dot com
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-13 13:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hjl dot tools at gmail dot com 2009-04-13 13:30 -------
(In reply to comment #5)
> HJ, can you please show verbose log output from the failed tests that proves
> that this bug and the other one are indeed duplicates? I don't see why on
> GNU/Linux, as should fail when passed --help
>
-v is added by check_for_options in gcc.misc-tests/options.exp. You can use
# make check-gcc RUNTESTFLAGS="options.exp help.exp --target_board
'unix{-m32,-m32}'"
to see it for yourselves on x86 platforms.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (6 preceding siblings ...)
2009-04-13 13:30 ` hjl dot tools at gmail dot com
@ 2009-04-13 15:12 ` hjl dot tools at gmail dot com
2009-04-13 17:21 ` dominiq at lps dot ens dot fr
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-13 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl dot tools at gmail dot com 2009-04-13 15:12 -------
*** Bug 39749 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (7 preceding siblings ...)
2009-04-13 15:12 ` hjl dot tools at gmail dot com
@ 2009-04-13 17:21 ` dominiq at lps dot ens dot fr
2009-04-13 19:42 ` hjl at gcc dot gnu dot org
2009-04-14 4:42 ` hjl dot tools at gmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-04-13 17:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from dominiq at lps dot ens dot fr 2009-04-13 17:21 -------
The patch in
http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00852.html
fixes PR39749.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (8 preceding siblings ...)
2009-04-13 17:21 ` dominiq at lps dot ens dot fr
@ 2009-04-13 19:42 ` hjl at gcc dot gnu dot org
2009-04-14 4:42 ` hjl dot tools at gmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-04-13 19:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from hjl at gcc dot gnu dot org 2009-04-13 19:42 -------
Subject: Bug 39733
Author: hjl
Date: Mon Apr 13 19:42:26 2009
New Revision: 146009
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146009
Log:
2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/39733
* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
(check_for_all_options): This.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.misc-tests/options.exp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/39733] gcc.misc-tests/help.exp doesn't work with multilib
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
` (9 preceding siblings ...)
2009-04-13 19:42 ` hjl at gcc dot gnu dot org
@ 2009-04-14 4:42 ` hjl dot tools at gmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-14 4:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from hjl dot tools at gmail dot com 2009-04-14 04:42 -------
Fixed.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39733
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-04-14 4:42 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-10 23:23 [Bug testsuite/39733] New: gcc.misc-tests/help.exp doesn't work with multilib hjl dot tools at gmail dot com
2009-04-11 0:55 ` [Bug testsuite/39733] " hjl dot tools at gmail dot com
2009-04-11 1:05 ` hjl dot tools at gmail dot com
2009-04-11 1:05 ` hjl dot tools at gmail dot com
2009-04-11 1:06 ` pinskia at gcc dot gnu dot org
2009-04-13 13:12 ` hjl dot tools at gmail dot com
2009-04-13 13:17 ` rwild at gcc dot gnu dot org
2009-04-13 13:30 ` hjl dot tools at gmail dot com
2009-04-13 15:12 ` hjl dot tools at gmail dot com
2009-04-13 17:21 ` dominiq at lps dot ens dot fr
2009-04-13 19:42 ` hjl at gcc dot gnu dot org
2009-04-14 4:42 ` hjl dot tools at gmail dot com
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).