(assert (null value0))
(format t "VALUE1=~S (~A)~%" value1 value1)
(assert (typep value1 'error)))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN)
+ (sb-ext:exit :code $EXIT_LISP_WIN)
EOF
check_status_maybe_lose compile-and-load $?
(assert (null value0))
(format t "VALUE1=~S (~A)~%" value1 value1)
(assert (typep value1 'error)))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN)
+ (sb-ext:exit :code $EXIT_LISP_WIN)
EOF
check_status_maybe_lose load-into-interpreter $?
}
(ignore-errors (load (compile-file-pathname "$f")))
(assert value0)
(assert (null value1)))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN)
+ (sb-ext:exit :code $EXIT_LISP_WIN)
EOF
check_status_maybe_lose load-compiled $?
}
(declare (ignore pathname))
(assert (not warnings-p))
(assert (not failure-p))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN))
+ (sb-ext:exit :code $EXIT_LISP_WIN))
EOF
check_status_maybe_lose clean-compile $?
}
(declare (ignore pathname))
(assert warnings-p)
(assert (not failure-p))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN))
+ (sb-ext:exit :code $EXIT_LISP_WIN))
EOF
check_status_maybe_lose warn-compile $?
}
(compile-file "$f")
(declare (ignore pathname warnings-p))
(assert failure-p)
- (sb-ext:quit :unix-status $EXIT_LISP_WIN))
+ (sb-ext:exit :code $EXIT_LISP_WIN))
EOF
check_status_maybe_lose fail-compile $?
}
(assert failure-p)
(assert warnings-p)
(assert (not (probe-file fasl))))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN))
+ (sb-ext:exit :code $EXIT_LISP_WIN))
EOF
check_status_maybe_lose abort-compile $?
}
run_sbcl <<EOF
(handler-bind (($c #'error))
(compile-file "$f")
- (sb-ext:quit :unix-status $EXIT_LISP_WIN))
+ (sb-ext:exit :code $EXIT_LISP_WIN))
EOF
check_status_maybe_lose "fail-on-condition_$1" $?
}
run_sbcl <<EOF
(handler-bind (($c (lambda (c)
(declare (ignore c))
- (sb-ext:quit :unix-status $EXIT_LISP_WIN))))
+ (sb-ext:exit :code $EXIT_LISP_WIN))))
(compile-file "$f"))
EOF
check_status_maybe_lose "expect-condition_$1" $?