projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b94258c
)
a few more tests to skip on unithreaded builds
author
Nikodemus Siivola
<nikodemus@random-state.net>
Sat, 9 Jun 2012 17:31:27 +0000
(20:31 +0300)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Sat, 9 Jun 2012 17:31:27 +0000
(20:31 +0300)
tests/threads.pure.lisp
patch
|
blob
|
history
diff --git
a/tests/threads.pure.lisp
b/tests/threads.pure.lisp
index
e785e73
..
2a2a6c4
100644
(file)
--- a/
tests/threads.pure.lisp
+++ b/
tests/threads.pure.lisp
@@
-20,7
+20,8
@@
(use-package :test-util)
(use-package :test-util)
-(with-test (:name atomic-update)
+(with-test (:name atomic-update
+ :skipped-on '(not :sb-thread))
(let ((x (cons :count 0)))
(mapc #'sb-thread:join-thread
(loop repeat 1000
(let ((x (cons :count 0)))
(mapc #'sb-thread:join-thread
(loop repeat 1000
@@
-559,7
+560,8
@@
(try-semaphore sem 1 note)
(assert (semaphore-notification-status note))))
(try-semaphore sem 1 note)
(assert (semaphore-notification-status note))))
-(with-test (:name (:return-from-thread :normal-thread))
+(with-test (:name (:return-from-thread :normal-thread)
+ :skipped-on '(not :sb-thread))
(let* ((thread (make-thread (lambda ()
(return-from-thread (values 1 2 3))
:foo)))
(let* ((thread (make-thread (lambda ()
(return-from-thread (values 1 2 3))
:foo)))
@@
-575,7
+577,8
@@
(thread-error ()
:oops)))))
(thread-error ()
:oops)))))
-(with-test (:name (:abort-thread :normal-thread))
+(with-test (:name (:abort-thread :normal-thread)
+ :skipped-on '(not :sb-thread))
(let ((thread (make-thread (lambda ()
(abort-thread)
:foo))))
(let ((thread (make-thread (lambda ()
(abort-thread)
:foo))))