aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-24 13:43:30 +0100
committerDavid Robillard <d@drobilla.net>2018-11-24 13:43:30 +0100
commit9456b3aac349f196d5fcac7bd752f5ddf6ad1163 (patch)
treeb32be77dcbd6846cab5392f0c993f6b839bf2ad5
parent564eb1290001553041d1b1a5ccbcb8ea9ef8878d (diff)
downloadserd-9456b3aac349f196d5fcac7bd752f5ddf6ad1163.tar.gz
serd-9456b3aac349f196d5fcac7bd752f5ddf6ad1163.tar.bz2
serd-9456b3aac349f196d5fcac7bd752f5ddf6ad1163.zip
Fix test suite when running recursively
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 65b5707a..03a86172 100644
--- a/wscript
+++ b/wscript
@@ -445,7 +445,7 @@ def test(ctx):
nul = os.devnull
autowaf.run_tests(ctx, APPNAME, [
- 'serdi_static ../tests/good/manifest.ttl > %s' % nul,
+ 'serdi_static %s/tests/good/manifest.ttl > %s' % (srcdir, nul),
'serdi_static -v > %s' % nul,
'serdi_static -h > %s' % nul,
'serdi_static -s "<foo> a <#Thingie> ." > %s' % nul,
@@ -453,7 +453,7 @@ def test(ctx):
], 0, name='GoodCommands')
autowaf.run_tests(ctx, APPNAME, [
- 'serdi_static -q ../tests/bad/bad-id-clash.ttl > %s' % nul,
+ 'serdi_static -q %s/tests/bad/bad-id-clash.ttl > %s' % (srcdir, nul),
'serdi_static > %s' % nul,
'serdi_static ftp://example.org/unsupported.ttl > %s' % nul,
'serdi_static -i > %s' % nul,