Making the reports work

This commit is contained in:
retropikzel 2024-10-05 13:14:45 +03:00
parent 935e18f675
commit 68d629c304
2 changed files with 15 additions and 14 deletions

26
Jenkinsfile vendored
View File

@ -67,7 +67,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'chibi-scheme -I ./snow/chibi r7rs-tests.scm' sh 'chibi-scheme -I ./snow/chibi r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/chibi-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/chibi-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -99,7 +99,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh ' ls && cp snow/chibi/term/ansi.sld snow.chibi.term.ansi.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.term.ansi.sld && cp snow/chibi/optional.sld snow.chibi.optional.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.optional.sld && cp snow/chibi/diff.sld snow.chibi.diff.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.diff.sld && cp snow/chibi/test.sld snow.chibi.test.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.test.sld' sh ' ls && cp snow/chibi/term/ansi.sld snow.chibi.term.ansi.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.term.ansi.sld && cp snow/chibi/optional.sld snow.chibi.optional.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.optional.sld && cp snow/chibi/diff.sld snow.chibi.diff.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.diff.sld && cp snow/chibi/test.sld snow.chibi.test.sld && csc -include-path ./snow/chibi -include-path ./snow/chibi/term -X r7rs -R r7rs -s -J snow.chibi.test.sld'
sh 'csc -include-path ./snow/chibi -X r7rs -R r7rs r7rs-tests.scm && ./r7rs-test && rm r7rs-test' sh 'csc -include-path ./snow/chibi -X r7rs -R r7rs r7rs-tests.scm && ./r7rs-test && rm r7rs-test> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/chicken-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/chicken-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -131,7 +131,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh ' ls && cyclone -A . snow/chibi/term/ansi.sld && cyclone -A . snow/chibi/optional.sld && cyclone -A . snow/chibi/diff.sld && cyclone -A . snow/chibi/test.sld' sh ' ls && cyclone -A . snow/chibi/term/ansi.sld && cyclone -A . snow/chibi/optional.sld && cyclone -A . snow/chibi/diff.sld && cyclone -A . snow/chibi/test.sld'
sh 'cyclone -A . r7rs-tests.scm && ./r7rs-test && rm r7rs-test' sh 'cyclone -A . r7rs-tests.scm && ./r7rs-test && rm r7rs-test> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/cyclone-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/cyclone-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -163,7 +163,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh ' ls && gsc . snow/chibi/term/ansi && gsc . snow/chibi/optional && gsc . snow/chibi/diff && gsc . snow/chibi/test' sh ' ls && gsc . snow/chibi/term/ansi && gsc . snow/chibi/optional && gsc . snow/chibi/diff && gsc . snow/chibi/test'
sh 'gsc -exe . -nopreload r7rs-tests.scm && ./r7rs-test && rm r7rs-test' sh 'gsc -exe . -nopreload r7rs-tests.scm && ./r7rs-test && rm r7rs-test> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/gambit-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/gambit-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -195,7 +195,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'gosh -r7 -A ./snow r7rs-tests.scm' sh 'gosh -r7 -A ./snow r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/gauche-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/gauche-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -227,7 +227,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'guile --fresh-auto-compile --r7rs -L . -L ./snow r7rs-tests.scm' sh 'guile --fresh-auto-compile --r7rs -L . -L ./snow r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/guile-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/guile-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -259,7 +259,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'kawa --r7rs -Dkawa.import.path=./snow/chibi/*.sld:./snow/srfi/*.sld r7rs-tests.scm' sh 'kawa --r7rs -Dkawa.import.path=./snow/chibi/*.sld:./snow/srfi/*.sld r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/kawa-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/kawa-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -291,7 +291,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh ' ls && ls snow/chibi/term/ansi.sld && ls snow/chibi/optional.sld && ls snow/chibi/diff.sld && ls snow/chibi/test.sld' sh ' ls && ls snow/chibi/term/ansi.sld && ls snow/chibi/optional.sld && ls snow/chibi/diff.sld && ls snow/chibi/test.sld'
sh 'LOKO_LIBRARY_PATH=./snow loko -std=r7rs --compile r7rs-tests.scm && ./r7rs-test && rm r7rs-test' sh 'LOKO_LIBRARY_PATH=./snow loko -std=r7rs --compile r7rs-tests.scm && ./r7rs-test && rm r7rs-test> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/loko-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/loko-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -323,7 +323,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'mit-scheme --load r7rs-tests.scm' sh 'mit-scheme --load r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/mit-scheme-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/mit-scheme-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -355,7 +355,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'sash -r7 -L ./snow r7rs-tests.scm > r7rs-test.log && cat r7rs-test.log' sh 'sash -r7 -L ./snow r7rs-tests.scm > r7rs-test.log && cat r7rs-test.log> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/sagittarius-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/sagittarius-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -387,7 +387,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'stklos -I ./snow r7rs-tests.scm' sh 'stklos -I ./snow r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/stklos-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/stklos-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -419,7 +419,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'skint --program r7rs-tests.scm' sh 'skint --program r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/skint-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/skint-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'
@ -451,7 +451,7 @@ pipeline {
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete' sh 'find . -name "*.o" -delete'
sh 'tr7i r7rs-tests.scm' sh 'tr7i r7rs-tests.scm> r7rs-test.log'
sh 'for f in *.log; do cp -- "$f" "reports/tr7-$f"; done' sh 'for f in *.log; do cp -- "$f" "reports/tr7-$f"; done'
sh 'ls reports' sh 'ls reports'
stash name: 'reports', includes: 'reports/*' stash name: 'reports', includes: 'reports/*'

View File

@ -78,7 +78,8 @@
(for-each (for-each
(lambda (test) (lambda (test)
(execute jenkinsfile-job (execute jenkinsfile-job
`((command . ,(full-command implementation test)) `((command . ,(string-append (full-command implementation test)
"> " (cdr (assoc 'name test)) ".log"))
(library-command . ,(full-library-command implementation test))) (library-command . ,(full-library-command implementation test)))
out)) out))
tests) tests)