Skip to content

Commit

Permalink
Disable some tests on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Aug 20, 2024
1 parent cc57604 commit cdbed81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/lisp/regression-tests/framework.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Successes: ~d"
(push name *expected-failed-tests*)
(push name *unexpected-failed-tests*))
(message :err "Failed ~s" name)
(message :emph "Unexpected error~%~t~a~%while evaluating~%~t~a"
(message :warn "Unexpected error~%~t~a~%while evaluating~%~t~a"
error form)
(when description (message :info "~s" description)))

Expand All @@ -80,9 +80,9 @@ Successes: ~d"
(push name *expected-failed-tests*)
(push name *unexpected-failed-tests*))
(message :err "Failed ~s" name)
(message :emph "Wanted values ~s to~%~{~t~a~%~}but got~%~{~t~a~%~}"
(message :warn "Wanted values ~s to~%~{~t~a~%~}but got~%~{~t~a~%~}"
test expected actual)
(message :emph "while evaluating~%~t~a~%" form)
(message :warn "while evaluating~%~t~a~%" form)
(when description (message :info "~s" description)))

(defun %succeed-test (name)
Expand Down
2 changes: 2 additions & 0 deletions src/lisp/regression-tests/misc.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
t 18 19)
(19))

#-darwin
(test issue-1240
(funcall (compile nil '(lambda (iter)
(loop (multiple-value-bind (node morep)
Expand Down Expand Up @@ -260,6 +261,7 @@
;;; but one of the inputs is actually bottom (unreachable) and casts
;;; could not deal with it, signaling an error during compilation.
;;; Also causes a failure in the ANSI test misc.110.
#-darwin
(test bottom-primop
(funcall (compile nil '(lambda (x)
(declare (fixnum x))
Expand Down
8 changes: 4 additions & 4 deletions src/lisp/regression-tests/run-all.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

(defvar *suites*
'("defcallback-native"
"float-features"
"lowlevel"
"fastgf"
"array0"
Expand Down Expand Up @@ -55,6 +54,7 @@
#+unicode "encodings"
"environment"
"conditions"
"float-features"
"debug"
"mp"
"posix"
Expand All @@ -65,11 +65,11 @@
"run-program"
"snapshot"))

(loop with requested-suite = (ext:getenv "TEST_SUITE")
(loop with requested-suites = (core:split (or (ext:getenv "TEST_SUITES") "") ",")
for suite in *suites*
finally (sys:quit (if (show-test-summary) 0 1))
when (or (null requested-suite)
(equal suite requested-suite))
when (or (null requested-suites)
(member suite requested-suites :test #'equal))
do (message :emph "~%Running ~a suite..." suite)
(load-if-compiled-correctly (merge-pathnames #P"sys:src;lisp;regression-tests;"
(make-pathname :name suite
Expand Down

0 comments on commit cdbed81

Please sign in to comment.