1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-22 19:44:10 +02:00

Fix builds `--without-threads'.

This commit is contained in:
Ludovic Courtès 2008-08-27 23:05:44 +02:00
parent f85ea2a85f
commit 70eca63557
5 changed files with 23 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2008-08-27 Ludovic Courtès <ludo@gnu.org>
* tests/srfi-18.test: Don't run the tests unless
"(provided? 'threads)" is true.
2008-08-25 Ludovic Courtès <ludo@gnu.org>
* standalone/Makefile.am (test_cflags): Add `$(GCC_CFLAGS)'.

View file

@ -1,7 +1,7 @@
;;;; srfi-18.test --- Test suite for Guile's SRFI-18 functions. -*- scheme -*-
;;;; Julian Graham, 2007-10-26
;;;;
;;;; Copyright (C) 2007 Free Software Foundation, Inc.
;;;; Copyright (C) 2007, 2008 Free Software Foundation, Inc.
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
@ -22,6 +22,8 @@
#:use-module (test-suite lib)
#:use-module (srfi srfi-18))
(and (provided? 'threads)
(with-test-prefix "current-thread"
(pass-if "current-thread eq current-thread"
@ -475,3 +477,5 @@
(set! success #t)))
(lambda () (thread-join! t)))
success)))
)