mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 13:16:36 +02:00
removing a warning in accept.c and verifying non-thread lib tests all pass w/o threads.
This commit is contained in:
parent
1c60d4b5eb
commit
72a2f237c7
2 changed files with 13 additions and 8 deletions
|
@ -5,7 +5,9 @@
|
|||
/* sockets non-blocking. */
|
||||
|
||||
sexp sexp_accept (sexp ctx, sexp self, int sock, struct sockaddr* addr, socklen_t len) {
|
||||
#if SEXP_USE_GREEN_THREADS
|
||||
sexp f;
|
||||
#endif
|
||||
int res;
|
||||
res = accept(sock, addr, &len);
|
||||
#if SEXP_USE_GREEN_THREADS
|
||||
|
|
|
@ -14,14 +14,17 @@
|
|||
|
||||
(cond-expand
|
||||
(modules
|
||||
(begin
|
||||
(load "tests/record-tests.scm")
|
||||
(load "tests/hash-tests.scm")
|
||||
(load "tests/sort-tests.scm")
|
||||
(load "tests/io-tests.scm")
|
||||
(load "tests/process-tests.scm")
|
||||
(load "tests/system-tests.scm")
|
||||
(load "tests/thread-tests.scm")))
|
||||
(load "tests/record-tests.scm")
|
||||
(load "tests/hash-tests.scm")
|
||||
(load "tests/sort-tests.scm")
|
||||
(load "tests/io-tests.scm")
|
||||
(load "tests/process-tests.scm")
|
||||
(load "tests/system-tests.scm"))
|
||||
(else #f))
|
||||
|
||||
(cond-expand
|
||||
((and modules threads)
|
||||
(load "tests/thread-tests.scm"))
|
||||
(else #f))
|
||||
|
||||
(test-end)
|
||||
|
|
Loading…
Add table
Reference in a new issue