summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 21:28:42 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 21:28:42 +0000
commite35514910e663618be0da6edd0cae5926e3753ac (patch)
tree7df3cdf235fec71947569b5d627d793938e546c8
parente9c8956343731cd18ac1dacb84510d2e8f0c338e (diff)
downloadlilv-e35514910e663618be0da6edd0cae5926e3753ac.tar.gz
lilv-e35514910e663618be0da6edd0cae5926e3753ac.tar.bz2
lilv-e35514910e663618be0da6edd0cae5926e3753ac.zip
Fix running test suite from top level.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5206 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index 5bc3829..a36764a 100644
--- a/wscript
+++ b/wscript
@@ -298,8 +298,9 @@ def build(bld):
autowaf.use_lib(bld, obj, 'SERD SORD SRATOM LV2')
# Unit test program
- bpath = os.path.abspath(os.path.join(out, 'test', 'test_plugin.lv2'))
- bpath = bpath.replace('\\', '/')
+ blddir = autowaf.build_dir(APPNAME, 'test')
+ bpath = os.path.abspath(os.path.join(blddir, 'test_plugin.lv2'))
+ bpath = bpath.replace('\\', '/')
obj = bld(features = 'c cprogram',
source = 'test/lilv_test.c',
includes = ['.', './src'],