public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Can't run gfortran testsuite
       [not found] ` <20090709185208.GA58596@troutmask.apl.washington.edu>
@ 2009-07-10 16:14   ` NightStrike
  2009-07-12 19:41     ` NightStrike
  0 siblings, 1 reply; 3+ messages in thread
From: NightStrike @ 2009-07-10 16:14 UTC (permalink / raw)
  To: Steve Kargl; +Cc: fortran, gcc

On Thu, Jul 9, 2009 at 2:52 PM, Steve
Kargl<sgk@troutmask.apl.washington.edu> wrote:
> On Thu, Jul 09, 2009 at 12:34:00PM -0400, NightStrike wrote:
>> I have been trying to run the gfortran testsuite for a while now, and
>> it keeps falling apart.  Dominiq tried to find a revision that might
>> attribute to it, and though r147421 might have something to do with
>> it:  http://gcc.gnu.org/viewcvs?view=rev&revision=147421
>>
>> These are the errors I get that prevent the testsuite from running
>> more than a few thousand tests:
>>
>> ERROR: tcl error sourcing
>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp.
>> ERROR: can't read "status": no such variable
>> ERROR: tcl error sourcing
>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp.
>> ERROR: torture-init: torture_without_loops is not empty as expected
>> ERROR: tcl error sourcing
>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp.
>> ERROR: torture-init: torture_without_loops is not empty as expected
>> ERROR: tcl error sourcing
>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp.
>> ERROR: torture-init: torture_without_loops is not empty as expected
>> ERROR: tcl error sourcing
>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp.
>> ERROR: torture-init: torture_without_loops is not empty as expected
>
> This appears to be a general testsuite issue.  You try pinging Janis
> on IRC.  She may have an idea on the cause.

I'm also emailing the general gcc list about this.  Does anyone have
any idea on how to handle this situation?

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

* Re: Can't run gfortran testsuite
  2009-07-10 16:14   ` Can't run gfortran testsuite NightStrike
@ 2009-07-12 19:41     ` NightStrike
  2009-07-13 18:34       ` Janis Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: NightStrike @ 2009-07-12 19:41 UTC (permalink / raw)
  To: Steve Kargl; +Cc: fortran, gcc

On Fri, Jul 10, 2009 at 12:14 PM, NightStrike<nightstrike@gmail.com> wrote:
> On Thu, Jul 9, 2009 at 2:52 PM, Steve
> Kargl<sgk@troutmask.apl.washington.edu> wrote:
>> On Thu, Jul 09, 2009 at 12:34:00PM -0400, NightStrike wrote:
>>> I have been trying to run the gfortran testsuite for a while now, and
>>> it keeps falling apart.  Dominiq tried to find a revision that might
>>> attribute to it, and though r147421 might have something to do with
>>> it:  http://gcc.gnu.org/viewcvs?view=rev&revision=147421
>>>
>>> These are the errors I get that prevent the testsuite from running
>>> more than a few thousand tests:
>>>
>>> ERROR: tcl error sourcing
>>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp.
>>> ERROR: can't read "status": no such variable
>>> ERROR: tcl error sourcing
>>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp.
>>> ERROR: torture-init: torture_without_loops is not empty as expected
>>> ERROR: tcl error sourcing
>>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp.
>>> ERROR: torture-init: torture_without_loops is not empty as expected
>>> ERROR: tcl error sourcing
>>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp.
>>> ERROR: torture-init: torture_without_loops is not empty as expected
>>> ERROR: tcl error sourcing
>>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp.
>>> ERROR: torture-init: torture_without_loops is not empty as expected
>>
>> This appears to be a general testsuite issue.  You try pinging Janis
>> on IRC.  She may have an idea on the cause.
>
> I'm also emailing the general gcc list about this.  Does anyone have
> any idea on how to handle this situation?
>

More info:

ERROR: tcl error sourcing
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp.
ERROR: can't read "status": no such variable
    while executing
"list $status [lindex $result 1]"
    (procedure "gfortran_load" line 10)
    invoked from within
"${tool}_load $output_file"
    (procedure "saved-dg-test" line 228)
    invoked from within
"saved-dg-test /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/char_bounds_check_fail_1.f90
{ -O0 } { -pedantic-errors}"
    ("eval" body line 1)
    invoked from within
"eval saved-dg-test $args "
    (procedure "dg-test" line 9)
    invoked from within
"dg-test $test $flags ${default-extra-flags}"
    (procedure "gfortran-dg-runtest" line 27)
    invoked from within
"gfortran-dg-runtest [lsort \
       [glob -nocomplain $srcdir/$subdir/*.\[fF\]{,90,95,03,08} ] ]
$DEFAULT_FFLAGS"
    (file "/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp"
line 32)
    invoked from within
"source /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
Running /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp
...
ERROR: tcl error sourcing
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
    while executing
"error "torture-init: torture_without_loops is not empty as expected""
    invoked from within
"if [info exists torture_without_loops] {
        error "torture-init: torture_without_loops is not empty as expected"
    }"
    (procedure "torture-init" line 4)
    invoked from within
"torture-init"
    (procedure "gfortran-dg-runtest" line 5)
    invoked from within
"gfortran-dg-runtest [lsort \
       [find $srcdir/$subdir *.\[fF\]{,90,95,03,08} ] ] " -fopenmp""
    (file "/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp"
line 32)
    invoked from within
"source /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/gomp/gomp.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
Running /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/graphite/graphite.exp
...
Running /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp
...
ERROR: tcl error sourcing
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
    while executing
"error "torture-init: torture_without_loops is not empty as expected""
    invoked from within
"if [info exists torture_without_loops] {
        error "torture-init: torture_without_loops is not empty as expected"
    }"
    (procedure "torture-init" line 4)
    invoked from within
"torture-init"
    (procedure "gfortran-dg-runtest" line 5)
    invoked from within
"gfortran-dg-runtest [lsort [glob -nocomplain
$srcdir/$subdir/vect-*.\[fF\]{,90,95,03,08} ]] $DEFAULT_VECTCFLAGS"
    (file "/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp"
line 115)
    invoked from within
"source /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/vect/vect.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
Running /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp
...
ERROR: tcl error sourcing
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
    while executing
"error "torture-init: torture_without_loops is not empty as expected""
    invoked from within
"if [info exists torture_without_loops] {
        error "torture-init: torture_without_loops is not empty as expected"
    }"
    (procedure "torture-init" line 4)
    invoked from within
"torture-init"
    (file "/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp"
line 28)
    invoked from within
"source /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
Running /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp
...
ERROR: tcl error sourcing
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp.
ERROR: torture-init: torture_without_loops is not empty as expected
    while executing
"error "torture-init: torture_without_loops is not empty as expected""
    invoked from within
"if [info exists torture_without_loops] {
        error "torture-init: torture_without_loops is not empty as expected"
    }"
    (procedure "torture-init" line 4)
    invoked from within
"torture-init"
    (file "/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp"
line 32)
    invoked from within
"source /home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/nightstrike/work/build/gcc-svn/gcc/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

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

* Re: Can't run gfortran testsuite
  2009-07-12 19:41     ` NightStrike
@ 2009-07-13 18:34       ` Janis Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Janis Johnson @ 2009-07-13 18:34 UTC (permalink / raw)
  To: NightStrike; +Cc: Steve Kargl, fortran, gcc

On Sun, 2009-07-12 at 15:40 -0400, NightStrike wrote:
> On Fri, Jul 10, 2009 at 12:14 PM, NightStrike<nightstrike@gmail.com> wrote:
> > On Thu, Jul 9, 2009 at 2:52 PM, Steve
> > Kargl<sgk@troutmask.apl.washington.edu> wrote:
> >> On Thu, Jul 09, 2009 at 12:34:00PM -0400, NightStrike wrote:
> >>> I have been trying to run the gfortran testsuite for a while now, and
> >>> it keeps falling apart.  Dominiq tried to find a revision that might
> >>> attribute to it, and though r147421 might have something to do with
> >>> it:  http://gcc.gnu.org/viewcvs?view=rev&revision=147421
> >>>
> >>> These are the errors I get that prevent the testsuite from running
> >>> more than a few thousand tests:
> >>>
> >>> ERROR: tcl error sourcing
> >>> /dev/shm/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/dg.exp.
> >>> ERROR: can't read "status": no such variable

Does this help?

Index: gcc/testsuite/lib/gcc-dg.exp
===================================================================
--- gcc/testsuite/lib/gcc-dg.exp	(revision 149420)
+++ gcc/testsuite/lib/gcc-dg.exp	(working copy)
@@ -205,9 +205,12 @@
 	global shouldfail
 	set result [eval [list saved_${tool}_load $program] $args]
 	if { $shouldfail != 0 } {
+	    set status "unresolved"
 	    switch [lindex $result 0] {
 		"pass" { set status "fail" }
 		"fail" { set status "pass" }
+		"xpass" { set status "xfail" }
+		"xfail" { set status "xpass" }
 	    }
 	    set result [list $status [lindex $result 1]]
 	}


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

end of thread, other threads:[~2009-07-13 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b609cb3b0907090934l65db3734x5d3719b2f583c266@mail.gmail.com>
     [not found] ` <20090709185208.GA58596@troutmask.apl.washington.edu>
2009-07-10 16:14   ` Can't run gfortran testsuite NightStrike
2009-07-12 19:41     ` NightStrike
2009-07-13 18:34       ` Janis Johnson

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