aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-03-02 23:08:23 +0000
committerDavid Robillard <d@drobilla.net>2013-03-02 23:08:23 +0000
commitca662173d1f59bc5cb94bfa77e4e0c2e710c2054 (patch)
tree9d1f83bea22cdccde552a702092d7fbd53bc605e /wscript
parent48d7ec344299ef6197fc2272c7468d8c234a1730 (diff)
downloadserd-ca662173d1f59bc5cb94bfa77e4e0c2e710c2054.tar.gz
serd-ca662173d1f59bc5cb94bfa77e4e0c2e710c2054.tar.bz2
serd-ca662173d1f59bc5cb94bfa77e4e0c2e710c2054.zip
Pass turtle-syntax-number-08.ttl (integer followed by terminating dot).
Better error handling. git-svn-id: http://svn.drobilla.net/serd/trunk@423 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 2 insertions, 5 deletions
diff --git a/wscript b/wscript
index 790d0d9f..b4d908ed 100644
--- a/wscript
+++ b/wscript
@@ -282,13 +282,10 @@ def earl_assertion(test, passed, asserter):
"earl:passed" if passed else "earl:failed",
datetime.datetime.now().replace(microsecond=0).isoformat())
-def test_manifest(ctx, srcdir, testdir, report, test_base, parse_base=None):
+def test_manifest(ctx, srcdir, testdir, report, test_base, parse_base):
import rdflib
import urlparse
- if not parse_base:
- parse_base = test_base
-
rdf = rdflib.Namespace('http://www.w3.org/1999/02/22-rdf-syntax-ns#')
rdfs = rdflib.Namespace('http://www.w3.org/2000/01/rdf-schema#')
mf = rdflib.Namespace('http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#')
@@ -342,7 +339,7 @@ def test_manifest(ctx, srcdir, testdir, report, test_base, parse_base=None):
result = os.path.join(srcdir, 'tests', testdir, result_node)
rel = os.path.relpath(action, os.path.join(srcdir, 'tests', testdir))
- command = 'serdi_static -f "%s" "%s" > %s' % (action, test_base + rel, output)
+ command = 'serdi_static -f "%s" "%s" > %s' % (action, parse_base + rel, output)
passed = autowaf.run_test(ctx, APPNAME, command, 0, name=name)
if passed:
if not os.access(output, os.F_OK):