aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-16 19:08:08 +0000
committerDavid Robillard <d@drobilla.net>2012-01-16 19:08:08 +0000
commit191968810ea2c30290eac330690fb671c4585b7a (patch)
treec51dca1739eb2214597e1dadfdddec9b453082ce
parente3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69 (diff)
downloadserd-191968810ea2c30290eac330690fb671c4585b7a.tar.gz
serd-191968810ea2c30290eac330690fb671c4585b7a.tar.bz2
serd-191968810ea2c30290eac330690fb671c4585b7a.zip
Fix test suite on UNIX when . is not in PATH.
git-svn-id: http://svn.drobilla.net/serd/trunk@293 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index c0eb0651..1890fc94 100644
--- a/wscript
+++ b/wscript
@@ -311,9 +311,10 @@ def test(ctx):
autowaf.pre_test(ctx, APPNAME)
+ os.environ['PATH'] = '.' + os.pathsep + os.getenv('PATH')
+
autowaf.run_tests(ctx, APPNAME, ['serd_test'], dirs=['.'])
- os.environ['PATH'] = '.' + os.pathsep + os.getenv('PATH')
nul = os.devnull
autowaf.run_tests(ctx, APPNAME, [
'serdi_static file://%s/tests/manifest.ttl > %s' % (srcdir, nul),