diff options
author | David Robillard <d@drobilla.net> | 2014-09-22 21:52:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-09-22 21:52:15 +0000 |
commit | 624b19b492df58075e64572bb0630693f447f2ce (patch) | |
tree | ba583a27d5abb161bd6ca294c93f74fc756a3613 /wscript | |
parent | b5896fff67d150e6ba96cea7d3679f9958b787ea (diff) | |
download | zix-624b19b492df58075e64572bb0630693f447f2ce.tar.gz zix-624b19b492df58075e64572bb0630693f447f2ce.tar.bz2 zix-624b19b492df58075e64572bb0630693f447f2ce.zip |
Gracefully handle memory allocation failure.
100% test coverage for hash.c.
git-svn-id: http://svn.drobilla.net/zix/trunk@85 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -124,7 +124,7 @@ def build(bld): '-DZIX_INTERNAL']) if bld.env.BUILD_TESTS: - test_libs = ['pthread'] + test_libs = ['pthread', 'dl'] test_cflags = [] if bld.env.MSVC_COMPILER: test_libs = [] @@ -146,7 +146,7 @@ def build(bld): # Unit test programs for i in tests: obj = bld(features = 'c cprogram', - source = 'test/%s.c' % i, + source = ['test/%s.c' % i, 'test/test_malloc.c'], includes = ['.'], use = 'libzix_profiled', lib = test_libs, |