X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fwin32-foreign-stack-unwind.impure.lisp;h=ba5727fc2335cfb014c085ee3f426a198fbfc8de;hb=062283b901155792f65775491aea51481c56faaa;hp=2d78069b8a136dafb60736dd14d337b5ef1e5d9c;hpb=45b5a21316381ecab98a0e5a5296294e044170e8;p=sbcl.git diff --git a/tests/win32-foreign-stack-unwind.impure.lisp b/tests/win32-foreign-stack-unwind.impure.lisp index 2d78069..ba5727f 100755 --- a/tests/win32-foreign-stack-unwind.impure.lisp +++ b/tests/win32-foreign-stack-unwind.impure.lisp @@ -11,7 +11,8 @@ ;;;; absolutely no warranty. See the COPYING and CREDITS files for ;;;; more information. -#-win32 (quit :unix-status 104) ;; This is extremely win32-specific. +#-win32 (exit :code 104) ;; This is extremely win32-specific. +#-x86 (exit :code 104) ;; And our AMD64 backend does not aim to support it. (use-package :sb-alien) @@ -19,9 +20,9 @@ ;;; go away. (import 'sb-alien::alien-lambda) +;;; XXX XXX this should change to use run-compiler.sh, now that we have it (defun run-compiler () - (let ((proc (run-program "gcc" '("win32-stack-unwind.c" - "-mno-cygwin" "-shared" + (let ((proc (run-program "gcc" '("win32-stack-unwind.c" "-shared" "-o" "win32-stack-unwind.dll") :search t))) (unless (zerop (process-exit-code proc)) @@ -30,7 +31,7 @@ (run-compiler) -(load-shared-object "win32-stack-unwind.dll") +(load-shared-object (truename "win32-stack-unwind.dll")) (defvar *current-test-callback*)