sbcl.sbcl/tests/genmakefile.lisp
Douglas Katzman ecf1c0c32f win32: get parallel-exec.sh working
The whole suite finishes in under 2 minutes on a 4 CPU VirtualBox
on a macbook. Some tests fail due to incorrect tempdir isolation.
2020-09-08 12:57:33 -04:00

16 lines
568 B
Common Lisp

;;;
;;; invocation: "$SBCL --script genmakefile.lisp >Makefile"
;;;
(let ((files (append (directory "*.test.sh")
(directory "*.*pure*.lisp"))))
(format t "~%all:")
(dolist (file (mapcar 'pathname-name files))
(format t " \\~% $(LOGDIR)/~a.log" file))
(terpri)
(terpri)
(dolist (file files)
(let ((in (format nil "~a.~a" (pathname-name file) (pathname-type file)))
(out (format nil "$(LOGDIR)/~a.log" (pathname-name file))))
(format t "~a: ~a~%~a./run-tests.sh ~a >~a 2>&1~%"
out in #\tab in out))))