Ignore errors when deleting the temporary file in ANSI-TESTS

This commit is contained in:
Juan Jose Garcia Ripoll 2012-05-30 22:42:18 +02:00
parent d8274f6e94
commit 918354841b

View file

@ -87,8 +87,8 @@
(loop with root = (si::get-library-pathname)
with lib-name = (format nil "../lib/ecl-~A/" (lisp-implementation-version))
for base in (list root (merge-pathnames lib-name root))
for p = (merge-pathnames "./LGPL" base)
when (probe-file p)
when (or (probe-file (merge-pathnames "./BUILD-STAMP" base))
(probe-file (merge-pathnames "./LGPL" base)))
do (return base)))
(setf (logical-pathname-translations "SYS")
@ -253,7 +253,7 @@
:error :output
:wait t))
(when (probe-file tmp)
(delete-file tmp))
(ignore-errors (delete-file tmp)))
(ext:chdir *here*))))
(defun run-regressions-tests (&optional (output (merge-pathnames "regressions.log"