X-Git-Url: http://repo.macrolet.net/gitweb/?p=jscl.git;a=blobdiff_plain;f=tests-report.lisp;fp=tests-report.lisp;h=3725787a2eb3a157a4a7523e182061356c5d7a21;hp=1b444962ee4e84612a5b87163560398f811c0a69;hb=cc71efeb9a9b66b650564255b562f0cbdff640fb;hpb=679997df8ce1605ac8d6e8c2c587726ef9c35f49 diff --git a/tests-report.lisp b/tests-report.lisp index 1b44496..3725787 100644 --- a/tests-report.lisp +++ b/tests-report.lisp @@ -1,14 +1,17 @@ -(format t "~%Finished. The execution took ~a seconds.~%" - (/ (- (get-internal-real-time) *timestamp*) internal-time-units-per-second 1.0)) +(async + (format t "~%Finished. The execution took ~a seconds.~%" + (/ (- (get-internal-real-time) *timestamp*) internal-time-units-per-second 1.0)) -(if (= *passed-tests* *total-tests*) - (format t "All the tests (~a) passed successfully.~%" *total-tests*) - (format t "~a/~a test(s) passed successfully.~%" *passed-tests* *total-tests*)) + (if (= *passed-tests* *total-tests*) + (format t "All the tests (~a) passed successfully.~%" *total-tests*) + (format t "~a/~a test(s) passed successfully.~%" *passed-tests* *total-tests*)) -(unless (zerop *expected-failures*) - (format t "~a test(s) failed expectedly.~%" *expected-failures*)) + (unless (zerop *expected-failures*) + (format t "~a test(s) failed expectedly.~%" *expected-failures*)) -(unless (zerop *unexpected-passes*) - (format t "~a test(s) passed unexpectedly.~%" *unexpected-passes*)) + (unless (zerop *unexpected-passes*) + (format t "~a test(s) passed unexpectedly.~%" *unexpected-passes*)) -(terpri) + (terpri) + + (init))