This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Regression for gdb.go/package.exp [Re: FYI: cleanups for gdb.go]


On Mon, 25 Jun 2012 21:13:01 +0200, Tom Tromey wrote:
> Regtested on x86-64 Fedora 16.

 Running gdb/testsuite/gdb.go/package.exp ...
-PASS: gdb.go/package.exp: setting breakpoint 1
-PASS: gdb.go/package.exp: Going to first breakpoint
+gdb compile failed, gdb/testsuite/gdb.go/package1.go:5:11: error: import file 'package2' not found
+gdb/testsuite/gdb.go/package1.go:10:3: error: reference to undefined name 'package2'
+UNTESTED: gdb.go/package.exp: package.exp

On all tested configurations.


Regards,
Jan


> --- gdb.go/package.exp	25 Apr 2012 14:07:23 -0000	1.1
> +++ gdb.go/package.exp	25 Jun 2012 19:11:47 -0000
> @@ -21,21 +21,13 @@
>  
>  if { [skip_go_tests] } { continue }
>  
> -set testfile "package"
> -set binfile ${objdir}/${subdir}/${testfile}
> +standard_testfile package1.go package2.go
>  
> -if  { [gdb_compile "${srcdir}/${subdir}/${testfile}2.go" "${binfile}2.o" object {debug go}] != "" } {
> -    untested $testfile
> +if {[prepare_for_testing $testfile.exp $testfile [list $srcfile $srcfile2] \
> +	 [list debug go libdir=[standard_output_file {}]]]} {
>      return -1
>  }
>  
> -if  { [gdb_compile "${srcdir}/${subdir}/${testfile}1.go ${binfile}2.o" "${binfile}" executable "debug go libdir=${objdir}/${subdir}"] != "" } {
> -    untested $testfile
> -    return -1
> -}
> -
> -clean_restart $testfile


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]