aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_pretty_suite.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_pretty_suite.py')
-rwxr-xr-xtest/run_pretty_suite.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/run_pretty_suite.py b/test/run_pretty_suite.py
index a17dd0f8..52686555 100755
--- a/test/run_pretty_suite.py
+++ b/test/run_pretty_suite.py
@@ -53,7 +53,7 @@ def test_suite(
self.n_tests = 0
self.n_failures = 0
- def run_test(entry, results):
+ def run_test(entry, syntax, results):
"""Run a single test entry from the manifest."""
input_uri = model[entry][mf + "action"][0]
@@ -65,7 +65,7 @@ def test_suite(
"-B",
base_uri,
"-O",
- "turtle",
+ syntax,
"-o",
output_path,
input_path,
@@ -92,9 +92,12 @@ def test_suite(
# Run all test types in the test suite
results = Results()
for klass, instances in instances.items():
- if klass == "http://drobilla.net/ns/serd#TestTurtlePrint":
+ if klass == "http://drobilla.net/ns/serd#TestTrigPrint":
for entry in instances:
- run_test(entry, results)
+ run_test(entry, "TriG", results)
+ elif klass == "http://drobilla.net/ns/serd#TestTurtlePrint":
+ for entry in instances:
+ run_test(entry, "Turtle", results)
# Print result summary
if results.n_failures > 0: