X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=clnl;a=blobdiff_plain;f=src%2Ftest%2Fmain.lisp;h=d24b337f02342fa21f3d62875e9ef623c29b23be;hp=4c375c605bfa4eb6ad791847a628892f230f506f;hb=c34fdd7f3b9920b2feaf1dec70d2dd21ddbbadf2;hpb=d429346c4e41599eaae8de2f4baa9c1b8a81aea6 diff --git a/src/test/main.lisp b/src/test/main.lisp index 4c375c6..d24b337 100644 --- a/src/test/main.lisp +++ b/src/test/main.lisp @@ -1,4 +1,4 @@ -(in-package #:cl-nl-test) +(in-package #:clnl-test) (defparameter *tests* nil) @@ -47,14 +47,14 @@ `(defsimpletest ,name (lambda () - (cl-nl:boot) - (cl-nl:run-commands ,commands) + (clnl:boot) + (clnl:run-commands ,commands) (string= ,checksum (checksum-world))) (lambda () - (cl-nl:boot) - (cl-nl:run-commands ,commands) + (clnl:boot) + (clnl:run-commands ,commands) (format nil "~A~A" - (cl-nl.nvm:export-world) + (clnl-nvm:export-world) (checksum-world))) "bin/runcmd.scala" (format nil "~A~%" ,commands))) @@ -63,15 +63,15 @@ `(defsimpletest ,name (lambda () - (cl-nl:boot) + (clnl:boot) (and - (string= (cl-nl.nvm:dump-object (cl-nl:run-reporter ,reporter)) ,value) + (string= (clnl-nvm:dump-object (clnl:run-reporter ,reporter)) ,value) (string= ,checksum (checksum-world)))) (lambda () - (cl-nl:boot) + (clnl:boot) (format nil "~A~%~A~A" - (cl-nl.nvm:dump-object (cl-nl:run-reporter ,reporter)) - (cl-nl.nvm:export-world) + (clnl-nvm:dump-object (clnl:run-reporter ,reporter)) + (clnl-nvm:export-world) (checksum-world))) "bin/runreporter.scala" (format nil "~A~%" ,reporter))) @@ -81,9 +81,9 @@ (map 'list #'identity (ironclad:digest-sequence :sha1 - (map '(vector (unsigned-byte 8)) #'char-code (cl-nl.nvm:export-world)))))) + (map '(vector (unsigned-byte 8)) #'char-code (clnl-nvm:export-world)))))) (defun run () (loop for str = (progn (format t "> ") (force-output) (read-line)) while str - do (progn (asdf:load-system :cl-nl-test) (run-tests-matching str)))) + do (progn (asdf:load-system :clnl-test) (run-tests-matching str))))