public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/44654]  New: check-fortran / gfortran.dg/dg.exp  ignores test specification in RUNTESTFLAGS
@ 2010-06-24 11:56 amylaar at gcc dot gnu dot org
  2010-06-24 13:24 ` [Bug testsuite/44654] " dominiq at lps dot ens dot fr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-06-24 11:56 UTC (permalink / raw)
  To: gcc-bugs

When I do:

make check-fortran RUNTESTFLAGS='gfortran.dg/dg.exp=data_invalid.f90'

the entire gfortran.dg/dg.exp testsuite is run.


-- 
           Summary: check-fortran / gfortran.dg/dg.exp  ignores test
                    specification in RUNTESTFLAGS
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44654


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

* [Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp  ignores test specification in RUNTESTFLAGS
  2010-06-24 11:56 [Bug testsuite/44654] New: check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS amylaar at gcc dot gnu dot org
@ 2010-06-24 13:24 ` dominiq at lps dot ens dot fr
  2010-06-24 13:37 ` amylaar at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-06-24 13:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2010-06-24 13:24 -------
Confirmed. Yet another bug or feature dilemma!-) 

Using

make check-fortran RUNTESTFLAGS='dg.exp=data_invalid.f90'

works for me. I don't know what "gfortran.dg/" is supposed to do.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44654


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

* [Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp  ignores test specification in RUNTESTFLAGS
  2010-06-24 11:56 [Bug testsuite/44654] New: check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS amylaar at gcc dot gnu dot org
  2010-06-24 13:24 ` [Bug testsuite/44654] " dominiq at lps dot ens dot fr
@ 2010-06-24 13:37 ` amylaar at gcc dot gnu dot org
  2010-06-24 14:52 ` dominiq at lps dot ens dot fr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-06-24 13:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amylaar at gcc dot gnu dot org  2010-06-24 13:36 -------
(In reply to comment #1)
> Confirmed. Yet another bug or feature dilemma!-) 
> 
> Using
> 
> make check-fortran RUNTESTFLAGS='dg.exp=data_invalid.f90'
> 
> works for me. I don't know what "gfortran.dg/" is supposed to do.

It's supposed to specify the testsuite driver.  That it does, but then
it forgets that it was supposed to run a specific test.

E.g.:

make check-gcc RUNTESTFLAGS='execute.exp=arith-rand.c'

Will run the driver execute.exp, telling it to only run tests
that match arith-rand.c .

> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44654


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

* [Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp  ignores test specification in RUNTESTFLAGS
  2010-06-24 11:56 [Bug testsuite/44654] New: check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS amylaar at gcc dot gnu dot org
  2010-06-24 13:24 ` [Bug testsuite/44654] " dominiq at lps dot ens dot fr
  2010-06-24 13:37 ` amylaar at gcc dot gnu dot org
@ 2010-06-24 14:52 ` dominiq at lps dot ens dot fr
  2010-06-24 15:22 ` amylaar at gcc dot gnu dot org
  2010-06-24 15:31 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-06-24 14:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dominiq at lps dot ens dot fr  2010-06-24 14:52 -------
> It's supposed to specify the testsuite driver.  That it does, but then
> it forgets that it was supposed to run a specific test.

dg.exp=files_to_test

does it (without path). 

What is not clear to me is what 'gfortran.dg/dg.exp=files_to_test' (with
partial path) is supposed to do. Presently it acts as if
'gfortran.dg/dg.exp=files_to_test' is just dropped and the full test is run.
May be one could want that it emits an error and stop, or matches the partial
path, or ... .


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44654


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

* [Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp  ignores test specification in RUNTESTFLAGS
  2010-06-24 11:56 [Bug testsuite/44654] New: check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-06-24 14:52 ` dominiq at lps dot ens dot fr
@ 2010-06-24 15:22 ` amylaar at gcc dot gnu dot org
  2010-06-24 15:31 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-06-24 15:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amylaar at gcc dot gnu dot org  2010-06-24 15:22 -------
(In reply to comment #3)
> > It's supposed to specify the testsuite driver.  That it does, but then
> > it forgets that it was supposed to run a specific test.
> 
> dg.exp=files_to_test
> 
> does it (without path).

Well, an awfulk lot of drivers are named dg.exp, so I wasn't sure
it it was specific enough.  I know when I do this with check-gcc
one level up, I get lots of matches.

When I try an absolute pathname, I get an error.
A relative pathname with anything more that gfortran/dg.exp doesn't match
anything.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44654


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

* [Bug testsuite/44654] check-fortran / gfortran.dg/dg.exp  ignores test specification in RUNTESTFLAGS
  2010-06-24 11:56 [Bug testsuite/44654] New: check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS amylaar at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-06-24 15:22 ` amylaar at gcc dot gnu dot org
@ 2010-06-24 15:31 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-06-24 15:31 -------
See comment #1.

check-fortran

already selects from the various dg.exps.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44654


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

end of thread, other threads:[~2010-06-24 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-24 11:56 [Bug testsuite/44654] New: check-fortran / gfortran.dg/dg.exp ignores test specification in RUNTESTFLAGS amylaar at gcc dot gnu dot org
2010-06-24 13:24 ` [Bug testsuite/44654] " dominiq at lps dot ens dot fr
2010-06-24 13:37 ` amylaar at gcc dot gnu dot org
2010-06-24 14:52 ` dominiq at lps dot ens dot fr
2010-06-24 15:22 ` amylaar at gcc dot gnu dot org
2010-06-24 15:31 ` rguenth at gcc dot gnu dot 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).