Patchwork [v3,testsuite] Fix merging default libstdc++.log

login
register
mail settings
Submitter Rainer Orth
Date April 17, 2012, 5:04 p.m.
Message ID <yddehrmwapw.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/153254/
State New
Headers show

Comments

Rainer Orth - April 17, 2012, 5:04 p.m.
Hi Mike,

> On Apr 16, 2012, at 8:03 AM, Rainer Orth wrote:
>> I've long noticed that libstdc++.log (unlike libstdc++.sum) doesn't
>> contain log entries for tests run from abi.exp, but hadn't looked
>> closer, getting used to check libstdc++.log.sep instead which contained
>> everything I expected.
>
>> ok for mainline?
>
> Ok.  Would have been nice to see the before and after log file...

the full thing is pretty boring, but the gist of the change can be seen
by diffing the output of dg-extract-results.sh -L libstdc++.log.sep:

 spawn [open ...]
 
+		==== libstdc++-v3 check-abi Summary ====
+
+# of added symbols:		 0
+# of missing symbols:		 0
+# of undesignated symbols:	 0
+# of incompatible symbols:	 0
+
+using: baseline_symbols.txt
+PASS: libstdc++-abi/abi_check
+testcase /vol/gcc/src/hg/trunk/solaris/libstdc++-v3/testsuite/libstdc++-abi/abi.exp completed in 35 seconds
+Running /vol/gcc/src/hg/trunk/solaris/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp ...
+libgomp support detected
[rest of prettyprinters.exp tests omitted ...]
+testcase /vol/gcc/src/hg/trunk/solaris/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp completed in 45 seconds
+
 		=== libstdc++ Summary for unix ===
 
 Running target unix/-m64

[similar change for 64-bit variant omitted...]

	Rainer

Patch

--- 11-gcc.old/i386-pc-solaris2.11/libstdc++-v3/testsuite/libstdc++.log.dist	2012-04-17 18:59:05.777535114 +0200
+++ 11-gcc/i386-pc-solaris2.11/libstdc++-v3/testsuite/libstdc++.log.fixed	2012-04-17 18:57:26.890396807 +0200
@@ -1,4 +1,4 @@ 
-Test Run By ro on Sat Apr 14 19:57:36 2012
+Test Run By ro on Sun Apr 15 22:11:21 2012
 Native configuration is i386-pc-solaris2.11
 
 		=== libstdc++ tests ===
@@ -15,8 +15,8 @@ 
 libgomp support detected
 set_ld_library_path_env_vars: ld_library_path=:/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/../libgomp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/src/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc/amd64
 LD_LIBRARY_PATH = :/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/../libgomp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/src/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc/amd64:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libstdc++-v3/src/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libmudflap/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libssp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libgomp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libitm/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/./gcc:/var/gcc/gcc-4.8.0-20120413/11-gcc/./prev-gcc

[differences due to tmp file names omitted ...]

@@ -54,6 +54,226 @@ 
 Setting LD_LIBRARY_PATH to :/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/../libgomp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/src/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc/amd64::/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/../libgomp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/./libstdc++-v3/src/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/gcc/amd64:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libstdc++-v3/src/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libmudflap/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libssp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libgomp/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/i386-pc-solaris2.11/libitm/.libs:/var/gcc/gcc-4.8.0-20120413/11-gcc/./gcc:/var/gcc/gcc-4.8.0-20120413/11-gcc/./prev-gcc