diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-04-26 21:55:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-04-26 21:56:02 +0200 |
commit | 56ae2148173f0b9a8fe8bb82530113f99f1f364d (patch) | |
tree | ed75d3ac409f33ceb61283d599e1d69bfcc9496b /test-suite | |
parent | bd22f1c768e2d5c7ec6264b8c68cc56019daccf4 (diff) | |
download | guile-56ae2148173f0b9a8fe8bb82530113f99f1f364d.tar.gz |
Only run `test-with-guile-module' when pthread support is built.
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/ChangeLog | 6 | ||||
-rw-r--r-- | test-suite/standalone/Makefile.am | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index f3c075c4d..fa0fb7821 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,5 +1,11 @@ 2008-04-26 Ludovic Courtès <ludo@gnu.org> + * standalone/Makefile.am (TESTS): Only add + `test-with-guile-module' when `BUILD_PTHREAD_SUPPORT' is true. + Reported by Alain Guibert <alguibert+bts@free.fr>. + +2008-04-26 Ludovic Courtès <ludo@gnu.org> + * tests/srfi-35.test (cond-expand): New test. 2008-04-26 Ludovic Courtès <ludo@gnu.org> diff --git a/test-suite/standalone/Makefile.am b/test-suite/standalone/Makefile.am index bafe0c711..ae68d5fe1 100644 --- a/test-suite/standalone/Makefile.am +++ b/test-suite/standalone/Makefile.am @@ -26,6 +26,7 @@ noinst_LTLIBRARIES = check_PROGRAMS = check_SCRIPTS = BUILT_SOURCES = +EXTRA_DIST = TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env" @@ -113,13 +114,21 @@ TESTS += test-conversion check_SCRIPTS += test-use-srfi TESTS += test-use-srfi +if BUILD_PTHREAD_SUPPORT + # test-with-guile-module test_with_guile_module_CFLAGS = ${test_cflags} test_with_guile_module_LDADD = ${top_builddir}/libguile/libguile.la check_PROGRAMS += test-with-guile-module TESTS += test-with-guile-module +else + +EXTRA_DIST += test-with-guile-module.c + +endif + all-local: cd ${srcdir} && chmod u+x ${check_SCRIPTS} -EXTRA_DIST = ${check_SCRIPTS} +EXTRA_DIST += ${check_SCRIPTS} |