This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: LD testsuite breaks with too many '-v' in RUNTESTFLAGS.


Nick Clifton wrote:

> I am not much of a tcl expert either, but I think that the following
> patch will take care of the problem - would you care to try it out ?

  Worked beautifully, thanks:

@@ -8005,32 +8005,1510 @@ calling is_remote ubik
 board_info build name
 getting ubik name
 board is build, not remote
-ERROR: tcl error sourcing
/usr/build/src-binutils/ld/testsuite/ld-pe/longsecn.exp.
-ERROR: can't read "dumpfile": no such variable
-    while executing
-"file_contents $dumpfile"
-    invoked from within
-"verbose [file_contents $dumpfile] 3"
-    ("eval" body line 1)
-    invoked from within
-"eval verbose "$expr" $level "
-    invoked from within
-"if $verbose>$level then { eval verbose "$expr" $level }"
-    (procedure "verbose_eval" line 3)
-    invoked from within
-"verbose_eval {[file_contents $dumpfile]} 3"
-    (procedure "run_dump_test" line 320)
-    invoked from within
-"run_dump_test "longsecn""
-    (file "/usr/build/src-binutils/ld/testsuite/ld-pe/longsecn.exp" line 28)
-    invoked from within
-"source /usr/build/src-binutils/ld/testsuite/ld-pe/longsecn.exp"
-    ("uplevel" body line 1)
-    invoked from within
-"uplevel #0 source /usr/build/src-binutils/ld/testsuite/ld-pe/longsecn.exp"
-    invoked from within
-"catch "uplevel #0 source $test_file_name""
-testcase /usr/build/src-binutils/ld/testsuite/ld-pe/longsecn.exp completed in
1 seconds
+output is
+tmpdir/dump:     file format pei-i386
+
+Sections:
+Idx Name          Size      VMA       LMA       File off  Algn
+  0 .text         00000014  00401000  00401000  00000400  2**2
+                  CONTENTS, ALLOC, LOAD, READONLY, CODE
+  1 .text.ve      00000004  00402000  00402000  00000600  2**2
+                  CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
+  2 .data         00000010  00403000  00403000  00000800  2**2
+                  CONTENTS, ALLOC, LOAD, DATA
+  3 .rodata       0000000c  00404000  00404000  00000a00  2**2
+                  CONTENTS, ALLOC, LOAD, DATA
+  4 .data.ve      0000000c  00405000  00405000  00000c00  2**2
+                  CONTENTS, ALLOC, LOAD, DATA

  Exception gone, file contents dumped, test results now the same at -vvv and
-vvvvv, all good, I recommend you commit it.  Thanks for helping :)

    cheers,
      DaveK



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