mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
Only test when 'threads are provided.
This commit is contained in:
parent
1f834c95da
commit
d8d925f310
1 changed files with 31 additions and 31 deletions
|
@ -20,8 +20,8 @@
|
||||||
(use-modules (ice-9 threads)
|
(use-modules (ice-9 threads)
|
||||||
(test-suite lib))
|
(test-suite lib))
|
||||||
|
|
||||||
|
(if (provided? 'threads)
|
||||||
(with-test-prefix "parallel"
|
(with-test-prefix "parallel"
|
||||||
(pass-if "no forms"
|
(pass-if "no forms"
|
||||||
(call-with-values
|
(call-with-values
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
@ -51,4 +51,4 @@
|
||||||
(lambda (x y z)
|
(lambda (x y z)
|
||||||
(and (equal? x 1)
|
(and (equal? x 1)
|
||||||
(equal? y 2)
|
(equal? y 2)
|
||||||
(equal? z 3))))))
|
(equal? z 3)))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue