Explorar o código

tests/loader.c: allow better parsing of execution time

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
8eb0599066
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/loader.c

+ 1 - 1
tests/loader.c

@@ -301,7 +301,7 @@ int main(int argc, char *argv[])
 
 	gettimeofday(&end, NULL);
 	timing = (double)((end.tv_sec - start.tv_sec)*1000000 + (end.tv_usec - start.tv_usec));
-	fprintf(stderr, "Execution of test '%s' took %f s\n", test_name, timing/1000000);
+	fprintf(stderr, "#Execution_time_in_seconds %f %s\n", timing/1000000, test_name);
 
 	return ret;
 }