Skip to content

Commit

Permalink
Merge branch 'master' into fix-format-interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada authored Oct 8, 2019
2 parents 09585bf + e9bda60 commit 1250d3f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ references:
setup-tex: &setup-tex
run:
name: Setup TeX
command: sudo apt-get install -qq -y texlive-latex-base ptex-bin latex2html nkf poppler-utils
command: |-
sudo apt-get update
sudo apt-get install -qq -y texlive-latex-base ptex-bin latex2html nkf poppler-utils
setup-eus: &setup-eus
run:
name: Setup EusLisp
Expand Down
24 changes: 11 additions & 13 deletions lib/llib/unittest.l
Original file line number Diff line number Diff line change
Expand Up @@ -232,19 +232,17 @@
(trace ,name))))

(defmacro assert (pred &optional (message "") &rest args)
(let
((ret (gensym)))
`(let* (failure (ret ,pred))
;; lisp::step could not work with macros..
;; (if (and (listp ',pred) (functionp (car ',pred)))
;; (setq ret (lisp::step ,pred))
;; (setq ret ,pred))
;;
(if (not ret)
;; escape <> for xml
(send *unit-test* :increment-failure ',pred (format nil ,message ,@args)
(escape-xml-string (subseq (send *error-output* :buffer) 0 (or (position 0 (send *error-output* :buffer)) (length (send *error-output* :buffer)))))))
)))
`(let (failure (ret ,pred))
;; lisp::step could not work with macros..
;; (if (and (listp ',pred) (functionp (car ',pred)))
;; (setq ret (lisp::step ,pred))
;; (setq ret ,pred))
;;
(if (not ret)
;; escape <> for xml
(send *unit-test* :increment-failure ',pred (format nil ,message ,@args)
(escape-xml-string (subseq (send *error-output* :buffer) 0 (or (position 0 (send *error-output* :buffer)) (length (send *error-output* :buffer)))))))
))


t))
Expand Down
2 changes: 1 addition & 1 deletion lisp/l/eusstart.l
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
;; LEO
(export '(self class))
;; classnames, variable names are exported by 'basicclass'
(export '(string float-vector interger-vector bit-vector))
(export '(string float-vector integer-vector bit-vector))
;; feature constants
(export '(vax sun apollo mips sun3 sun4 news sanyo bsd4_2 sunos4
sunos4.1 system5 coff alpha thread))
Expand Down
2 changes: 1 addition & 1 deletion lisp/l/exports.l
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
;; LEO
(export '(self class))
;; classnames, variable names are exported by 'basicclass'
(export '(string float-vector interger-vector bit-vector))
(export '(string float-vector integer-vector bit-vector))
;; feature constants
(export '(vax sun apollo mips sun3 sun4 news sanyo bsd4_2 sunos4
sunos4.1 system5 coff alpha thread))
Expand Down

0 comments on commit 1250d3f

Please sign in to comment.