Add function RUN-TESTS-IN-HOST to run tests in the host implementation
[jscl.git] / tests.lisp
index 7707756..5c8251b 100644 (file)
@@ -1,6 +1,6 @@
 (defvar *passed-tests* 0)
 (defvar *failed-tests* 0)
-(defvar *timestamp* (get-internal-real-time))
+(defvar *timestamp*)
 
 (defmacro test (condition)
   `(cond
@@ -13,3 +13,5 @@
 
 (write-line "Running tests...")
 (write-line "")
+
+(setq *timestamp* (get-internal-real-time))