Permalink
Browse files

Removed a stray method from fSQLTranslation

  • Loading branch information...
1 parent cb72bb1 commit e407fa7545b81b74836d918bdf18b11aa3655ee8 @wbond wbond committed May 18, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/tests.php
View
@@ -525,9 +525,14 @@ function make_defines($exts, $exts_to_remove, $throw=FALSE) {
}
echo "\033[1;37;46m";
$runtime = microtime(TRUE) - $master_start;
+
$runtime_hours = ($runtime / 3600) % 60;
$runtime_minutes = ($runtime / 60) % 60;
$runtime_seconds = $runtime % 60;
+ if ($runtime < 1 ) {
+ $runtime_seconds = number_format($runtime, 1);
+ }
+
if ($runtime_hours) {
echo " $runtime_hours hour";
if ($runtime_hours != 1) {

0 comments on commit e407fa7

Please sign in to comment.