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]

[libstdc++] Tweak to check-abi[-verbose] makefile rules


It's an invariant for other dejagnu-style 'check' rules that they leave
behind a .log file as well as a .sum file.  Since we're faking one, we
may as well fake the other.


2004-02-29  Phil Edwards  <phil@codesourcery.com>

	* testsuite/Makefile.am (check-abi, check-abi-verbose):  Copy
	the summary file to the logfile.
	* testsuite/Makefile.in:  Regenerate.


Index: testsuite/Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/Makefile.am,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile.am
--- testsuite/Makefile.am	10 Dec 2003 21:43:10 -0000	1.33
+++ testsuite/Makefile.am	29 Feb 2004 12:55:38 -0000
@@ -100,12 +100,14 @@ if GLIBCXX_TEST_ABI
 # 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} \
-	2>&1 | tee libstdc++-abi.sum)
+	-@./abi_check --check ./current_symbols.txt ${baseline_file} \
+	  2>&1 | tee libstdc++-abi.sum
+	-@cp libstdc++-abi.sum libstdc++-abi.log
 
 check-abi-verbose: abi_check baseline_symbols current_symbols.txt
-	-@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file} \
-	2>&1 | tee libstdc++-abi.sum)
+	-@./abi_check --check-verbose ./current_symbols.txt ${baseline_file} \
+	  2>&1 | tee libstdc++-abi.sum
+	-@cp libstdc++-abi.sum libstdc++-abi.log
 
 else
 check-abi:


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