aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_test_suite.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-01 20:09:38 -0400
committerDavid Robillard <d@drobilla.net>2022-01-28 21:57:07 -0500
commitdc01b7e301e91d0d7bfc358f569f4f3849471c52 (patch)
tree4819b060d20c79e38e1ccab373f3b84a85c0b074 /test/run_test_suite.py
parenta8ffb15c4a0566fabb50c94524e881ba2036dd1a (diff)
downloadserd-dc01b7e301e91d0d7bfc358f569f4f3849471c52.tar.gz
serd-dc01b7e301e91d0d7bfc358f569f4f3849471c52.tar.bz2
serd-dc01b7e301e91d0d7bfc358f569f4f3849471c52.zip
Collapse input and output options into a single flag
Diffstat (limited to 'test/run_test_suite.py')
-rwxr-xr-xtest/run_test_suite.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/run_test_suite.py b/test/run_test_suite.py
index 0d865c1f..1c5a7cf3 100755
--- a/test/run_test_suite.py
+++ b/test/run_test_suite.py
@@ -26,7 +26,7 @@ def log_error(message):
def test_osyntax_options(osyntax):
if osyntax.lower() == "ntriples" or osyntax.lower() == "nquads":
- return ["-a"]
+ return ["-o", "ascii"]
return []
@@ -80,7 +80,8 @@ def test_thru(
"foo",
"-w",
thru_path,
- "-a",
+ "-o",
+ "ascii",
"-I",
base_uri,
out_path,
@@ -243,9 +244,10 @@ def test_suite(
test_path = os.path.join(test_dir, test_name)
command = command_prefix + [
- "-a",
"-o",
osyntax,
+ "-o",
+ "ascii",
"-I",
test_uri,
test_path,
@@ -305,9 +307,10 @@ def test_suite(
model_command = command_prefix + [
"-m",
- "-a",
"-o",
osyntax,
+ "-o",
+ "ascii",
"-w",
out_filename,
"-I",
@@ -365,7 +368,7 @@ def test_suite(
if test_class.startswith(ns_rdftest):
expected = (
1
- if "-l" not in command_prefix and "Negative" in test_class
+ if "lax" not in command_prefix and "Negative" in test_class
else 0
)
run_tests(test_class, instances, expected, results)