Author: sebor
Date: Thu Dec  6 15:22:09 2007
New Revision: 601909

URL: http://svn.apache.org/viewvc?rev=601909&view=rev
Log:
2007-12-06  Martin Sebor  <[EMAIL PROTECTED]>

        * buildntest (write_times): Named a parameter for readability.
        Corrected the descriptive label for the last set of timings.

Modified:
    incubator/stdcxx/trunk/bin/buildntest

Modified: incubator/stdcxx/trunk/bin/buildntest
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/buildntest?rev=601909&r1=601908&r2=601909&view=diff
==============================================================================
--- incubator/stdcxx/trunk/bin/buildntest (original)
+++ incubator/stdcxx/trunk/bin/buildntest Thu Dec  6 15:22:09 2007
@@ -159,6 +159,8 @@
 # the last call, or the date and time if this is the first call
 write_times()
 {
+    label=$1
+
     if [ -z $startsec ]; then
         echo; echo "### date:"
         date
@@ -174,7 +176,7 @@
         real_sec=$((real_sec % 60))
 
         # display the real, user, and system times since the last call
-        echo; echo "### real, user, system time ($1):"
+        echo; echo "### real, user, system time ($label):"
         echo "${real_min}m${real_sec}s"
         times
     fi
@@ -626,7 +628,7 @@
 du -sk ./build/ ./build/*
 
 # write the amount of real, user, and system time
-write_times "runall"
+write_times "total"
 
 # Pass the captured return code from make util/make rwtest back out
 exit ${utils_status}


Reply via email to