From 9456b3aac349f196d5fcac7bd752f5ddf6ad1163 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Nov 2018 13:43:30 +0100 Subject: Fix test suite when running recursively --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') 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 " 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, -- cgit v1.2.1