This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: check-abi test results not in test summary


Loren James Rittle writes:
> In article <mailman.7875.1056525283.3041.gnu-libstdcpp@lists.nsr.labs.mot.com>
> Matthias Klose <doko@cs.tu-berlin.de> writes:
> > The check-abi target does not write it's results to a .sum file,
> > which contrib/test_summary can include. Should the test results be
> > appended to the libstdc++-v3.sum file, or should a new check-abi.sum
> > file be used, which is read by the test_summary script?
> 
> Patch pre-approved to improve that situation.  Regarding the question:
> Please place it in a new file since one atomic step should not trash
> another.  Thanks for improving it if you can.

patch attached for the 3.3 branch. CCing Alexandre as the test_summary
author, or should this be checked in as obvious?

2003-06-25  Matthias Klose  <doko@debian.org>

	* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
	output of abi-check in check-abi.sum.
	* testsuite/Makefile.in: Regenerate.

--- libstdc++-v3/testsuite/Makefile.am~	2003-06-19 19:55:50.000000000 +0200
+++ libstdc++-v3/testsuite/Makefile.am	2003-06-25 10:51:08.000000000 +0200
@@ -111,10 +111,12 @@
 # Use 'new-abi-baseline' to create an initial symbol file.  Then run
 # 'check-abi' to test for changes against that file.
 check-abi: abi_check baseline_symbols current_symbols.txt
-	-@(./abi_check --check ./current_symbols.txt ${baseline_file})
+	-@(./abi_check --check ./current_symbols.txt ${baseline_file} \
+	  2>&1 | tee check-abi.sum)
 
 check-abi-verbose: abi_check baseline_symbols current_symbols.txt 
-	-@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file})
+	-@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file} \
+	  2>&1 | tee check-abi.sum)
 else
 check-abi:
 check-abi-verbose:

2003-06-25  Matthias Klose  <doko@debian.org>

	* contrib/test_summary: Include baseline used for libstdc++-v3
	abi check in test summary.

--- src/contrib/test_summary~	2002-05-23 22:03:09.000000000 +0200
+++ src/contrib/test_summary	2003-06-25 10:48:17.000000000 +0200
@@ -116,6 +116,7 @@
 /\===.*Summary/ { print ""; print; blanks=1; }
 /tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; }
 /^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { print; }
+/^using:/ { print ""; print; print ""; }
 # dumpall != 0 && /^X?(PASS|FAIL|UNTESTED)|^testcase/ { dumpall=0; }
 # dumpall != 0 { print; }
 # /^FAIL/ { dumpall=1; }


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