aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-08-22 01:56:17 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-08-22 01:56:17 +0900
commitaf185fae6eee4ab455fbd820be156d7d8f8596d1 (patch)
tree5a2e57a4953cba941256b3cfb24d2d9af2f1ef9d
parent7753010b8671e2ed7aeabe2efe34b07e90ce8472 (diff)
standard-52-card-deck: Update.
-rwxr-xr-xjobs/standard-52-card-deck.run16
1 files changed, 10 insertions, 6 deletions
diff --git a/jobs/standard-52-card-deck.run b/jobs/standard-52-card-deck.run
index 1f5bada..c74c0fb 100755
--- a/jobs/standard-52-card-deck.run
+++ b/jobs/standard-52-card-deck.run
@@ -10,10 +10,14 @@ echo '---'
echo
guix environment --container --pure --ad-hoc sbcl make acl2 -- make
-for path in $(find -type f -name '*.lisp'); do
- printf "%s\n " "${path#./}"
- laminarc run acl2-verify path="$(pwd)/$path"
- echo
-done
-echo 'Verified all files!'
+{
+ echo ':q'
+ echo '(setf sb-ext:*invoke-debugger-hook* (lambda (c h) (declare (ignore c h)) (format t "~%~a~%" "******** FAILED ********") (sb-ext:quit)))'
+ echo '(lp)'
+ cat "top.lisp"
+} |\
+ guix environment --container --pure --ad-hoc sbcl acl2 -- acl2 > acl2.out
+
+cat acl2.out | awk '{ print } ; $0 == "******** FAILED ********" { exit 1 }'
+