X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fswap-lispobjs.impure.lisp;h=b3c2f493f0caed6524cc5165dd23aef61fcd16eb;hb=6d36f2d6954cb79e3c88fef33fe0c3ad63deaea8;hp=c3cf6f5d8bd31f707e51995be902d2b698eb9c12;hpb=4d633465231c79adeb3e4e59bf30c011d1d0e9dd;p=sbcl.git diff --git a/tests/swap-lispobjs.impure.lisp b/tests/swap-lispobjs.impure.lisp index c3cf6f5..b3c2f49 100644 --- a/tests/swap-lispobjs.impure.lisp +++ b/tests/swap-lispobjs.impure.lisp @@ -21,7 +21,7 @@ (output (with-output-to-string (s) (setf proc (run-program program arguments - :search (not (eql #\. (char program 0))) + :environment (test-util::test-env) :output s))))) (unless (zerop (process-exit-code proc)) (error "Bad exit code: ~S~%Output:~% ~S" @@ -29,13 +29,10 @@ output)) output)) -(run "cc" "-O3" - "-I" "../src/runtime/" - "swap-lispobjs.c" - #+(and (or linux freebsd) (or x86-64 ppc mips)) "-fPIC" - #+(and x86-64 darwin) "-arch" #+(and x86-64 darwin) "x86_64" - #+darwin "-bundle" #-darwin "-shared" - "-o" "swap-lispobjs.so") +(run "/bin/sh" "run-compiler.sh" + "-sbcl-pic" "-sbcl-shared" + "-O3" "-I" "../src/runtime/" + "swap-lispobjs.c" "-o" "swap-lispobjs.so") (load-shared-object (truename "swap-lispobjs.so"))