X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests-report.lisp;h=3725787a2eb3a157a4a7523e182061356c5d7a21;hb=HEAD;hp=19a95a7069071d5a7a87eac74f093125869b9820;hpb=07746188cb92ad30b3c86c2598aa0f64ea9ef2ea;p=jscl.git diff --git a/tests-report.lisp b/tests-report.lisp index 19a95a7..3725787 100644 --- a/tests-report.lisp +++ b/tests-report.lisp @@ -1,12 +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) + + (init))