Loading test/test-program.script +62 −57 Original line number Diff line number Diff line Loading @@ -42,6 +42,8 @@ :output (list *standard-output* :linewise t :prefix "stdout: ") :error-output (list *error-output* :linewise t :prefix "stderr: "))))) #-(and lispworks os-windows) (progn (DBG "test image-op") (defparameter img (output-file (make-operation 'image-op) (find-system :hello-world-example))) (assert (absolute-pathname-p img)) Loading @@ -55,8 +57,9 @@ (nest #+lispworks (last) (run-program (symbol-call :lisp-invocation :lisp-invocation-arglist (symbol-call #+allegro :lisp-path #+allegro *lisp* :lisp-invocation :lisp-invocation-arglist :image-path (native-namestring img) :eval "(uiop:restore-image :entry-point 'hello:entry-point :lisp-interaction nil)") :output :lines :error-output t)) Loading @@ -66,8 +69,9 @@ #-(or lispworks scl) ;; These can't be passed arguments the normal way (assert-equal (run-program (symbol-call :lisp-invocation :lisp-invocation-arglist (symbol-call #+allegro :lisp-path #+allegro *lisp* :lisp-invocation :lisp-invocation-arglist :image-path (native-namestring img) :eval "(uiop:restore-image :entry-point 'hello:entry-point :lisp-interaction nil)" :arguments '("a" "b c" "d")) Loading @@ -76,8 +80,9 @@ "You passed 3 arguments:" " \"a\"" " \"b c\"" " \"d\"")) " \"d\""))) (progn (DBG "test program-op") (unless (or #+(or clisp clozure (and ecl (not ecl-bytecmp)) lispworks mkcl sbcl) t #+cmu nil ;; uncomment if you have 32-bit gcc support - or can autodetect Loading @@ -104,7 +109,7 @@ "You passed 3 arguments:" " \"a\"" " \"b c\"" " \"d\"")) " \"d\""))) #+(or ecl mkcl) (progn Loading Loading
test/test-program.script +62 −57 Original line number Diff line number Diff line Loading @@ -42,6 +42,8 @@ :output (list *standard-output* :linewise t :prefix "stdout: ") :error-output (list *error-output* :linewise t :prefix "stderr: "))))) #-(and lispworks os-windows) (progn (DBG "test image-op") (defparameter img (output-file (make-operation 'image-op) (find-system :hello-world-example))) (assert (absolute-pathname-p img)) Loading @@ -55,8 +57,9 @@ (nest #+lispworks (last) (run-program (symbol-call :lisp-invocation :lisp-invocation-arglist (symbol-call #+allegro :lisp-path #+allegro *lisp* :lisp-invocation :lisp-invocation-arglist :image-path (native-namestring img) :eval "(uiop:restore-image :entry-point 'hello:entry-point :lisp-interaction nil)") :output :lines :error-output t)) Loading @@ -66,8 +69,9 @@ #-(or lispworks scl) ;; These can't be passed arguments the normal way (assert-equal (run-program (symbol-call :lisp-invocation :lisp-invocation-arglist (symbol-call #+allegro :lisp-path #+allegro *lisp* :lisp-invocation :lisp-invocation-arglist :image-path (native-namestring img) :eval "(uiop:restore-image :entry-point 'hello:entry-point :lisp-interaction nil)" :arguments '("a" "b c" "d")) Loading @@ -76,8 +80,9 @@ "You passed 3 arguments:" " \"a\"" " \"b c\"" " \"d\"")) " \"d\""))) (progn (DBG "test program-op") (unless (or #+(or clisp clozure (and ecl (not ecl-bytecmp)) lispworks mkcl sbcl) t #+cmu nil ;; uncomment if you have 32-bit gcc support - or can autodetect Loading @@ -104,7 +109,7 @@ "You passed 3 arguments:" " \"a\"" " \"b c\"" " \"d\"")) " \"d\""))) #+(or ecl mkcl) (progn Loading