stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r428541 - in /incubator/stdcxx/trunk/util: output.cpp runall.cpp
Date Thu, 03 Aug 2006 21:54:23 GMT
Author: sebor
Date: Thu Aug  3 14:54:23 2006
New Revision: 428541

URL: http://svn.apache.org/viewvc?rev=428541&view=rev
Log:
2006-08-01 Andrew Black <ablack@roguewave.com>

	* runall.cpp (main): Widened NAME column to 25 characters, and
	renamed ASSRTS column to ASSERTS, widening to 7 characters in
	the process.
	* runall.cpp (run_target): Altered format string used to print
	target name to match above.
	* output.cpp (check_test, check_compat_test): Altered format
	string used to print assertion counts to match the above.

Modified:
    incubator/stdcxx/trunk/util/output.cpp
    incubator/stdcxx/trunk/util/runall.cpp

Modified: incubator/stdcxx/trunk/util/output.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/output.cpp?rev=428541&r1=428540&r2=428541&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/output.cpp (original)
+++ incubator/stdcxx/trunk/util/output.cpp Thu Aug  3 14:54:23 2006
@@ -132,7 +132,7 @@
         if (asserts) {
             pcnt = 100 * (asserts - failed) / asserts;
         }
-        printf ("     0 %6d %6d %5d%%\n", asserts, failed, pcnt);
+        printf ("     0 %7d %6d %5d%%\n", asserts, failed, pcnt);
     }
     else {
         puts ("FORMAT");
@@ -192,7 +192,7 @@
         if (asserts) {
             pcnt = 100 * (asserts - failed) / asserts;
         }
-        printf ("     0 %6d %6d %5d%%\n", asserts, failed, pcnt);
+        printf ("     0 %7d %6d %5d%%\n", asserts, failed, pcnt);
     }
     else {
         puts ("FORMAT");

Modified: incubator/stdcxx/trunk/util/runall.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/runall.cpp?rev=428541&r1=428540&r2=428541&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/runall.cpp (original)
+++ incubator/stdcxx/trunk/util/runall.cpp Thu Aug  3 14:54:23 2006
@@ -360,7 +360,7 @@
 
     target_name = rw_basename (childargv [0]);
 
-    printf ("%-18.18s ", target_name);
+    printf ("%-25.25s ", target_name);
     fflush (stdout);
 
     if (!check_target_ok (childargv [0]))
@@ -406,7 +406,7 @@
         char** childargv = split_opt_string (exe_opts);
 
         assert (0 != childargv);
-        puts ("NAME               STATUS ASSRTS FAILED PERCNT");
+        puts ("NAME                      STATUS ASSERTS FAILED PERCNT");
 
         for (i = 0; i < argc; ++i) {
             run_target (argv [i], childargv);



Mime
View raw message