Browse Source

Update to r65/autowaf and waf-1.6.10.

git-svn-id: http://svn.drobilla.net/serd/trunk@302 490d8e77-9747-427b-9fa3-0b8f29cee8a0
zrythm_meson
David Robillard 11 years ago
parent
commit
7a847c2d5d
  1. 6
      src/uri.c
  2. BIN
      waf
  3. 7
      wscript

6
src/uri.c

@ -364,8 +364,10 @@ serd_uri_serialise(const SerdURI* uri, SerdSink sink, void* stream) @@ -364,8 +364,10 @@ serd_uri_serialise(const SerdURI* uri, SerdSink sink, void* stream)
} while (up > 0 && (--base_last > uri->path_base.buf));
// Write base URI prefix
const size_t base_len = base_last - uri->path_base.buf + 1;
WRITE(uri->path_base.buf, base_len);
if (*base_last == '/') {
const size_t base_len = base_last - uri->path_base.buf + 1;
WRITE(uri->path_base.buf, base_len);
}
} else {
// Relative path is just query or fragment, append to base URI

BIN
waf vendored

Binary file not shown.

7
wscript

@ -316,6 +316,13 @@ def test(ctx): @@ -316,6 +316,13 @@ def test(ctx):
autowaf.run_tests(ctx, APPNAME, ['serd_test'], dirs=['.'])
autowaf.run_tests(ctx, APPNAME, [
'serdi_static -o turtle %s/tests/base.ttl "base.ttl" > tests/base.ttl.out' % srcdir],
0, name='base')
if not file_equals('%s/tests/base.ttl' % srcdir, 'tests/base.ttl.out'):
Logs.pprint('RED', 'FAIL: build/tests/base.ttl.out is incorrect')
nul = os.devnull
autowaf.run_tests(ctx, APPNAME, [
'serdi_static file://%s/tests/manifest.ttl > %s' % (srcdir, nul),

Loading…
Cancel
Save