aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-13 17:55:16 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit91c0c68e153118f4d64c137d78882ee95830c307 (patch)
tree1325868b64aab19ff57a08d528ac1a25b8e82d7a /test
parent90fe1b64c2203f9e82646cb41c8a85f0a31125bb (diff)
downloadserd-91c0c68e153118f4d64c137d78882ee95830c307.tar.gz
serd-91c0c68e153118f4d64c137d78882ee95830c307.tar.bz2
serd-91c0c68e153118f4d64c137d78882ee95830c307.zip
Move serdi to tools subdirectory
This separates the command-line tool code from the library implementation.
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_suite.py2
-rw-r--r--test/serd_test_util/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/run_suite.py b/test/run_suite.py
index 2e93502f..b44808b7 100755
--- a/test/run_suite.py
+++ b/test/run_suite.py
@@ -154,7 +154,7 @@ def main():
parser.add_argument("--lax", action="store_true", help="tolerate errors")
parser.add_argument("--report", help="path to write result report to")
parser.add_argument("--reverse", action="store_true", help="reverse test")
- parser.add_argument("--serdi", default="serdi", help="path to serdi")
+ parser.add_argument("--serdi", default="tools/serdi", help="path to serdi")
parser.add_argument("--wrapper", default="", help="executable wrapper")
parser.add_argument("manifest", help="test suite manifest.ttl file")
parser.add_argument("base_uri", help="base URI for tests")
diff --git a/test/serd_test_util/__init__.py b/test/serd_test_util/__init__.py
index 260dcd9d..4f426009 100644
--- a/test/serd_test_util/__init__.py
+++ b/test/serd_test_util/__init__.py
@@ -57,7 +57,7 @@ def wrapper_args(description, with_input=False):
"""Return the command line arguments for a wrapped test."""
parser = argparse.ArgumentParser(description)
- parser.add_argument("--serdi", default="./serdi", help="serdi executable")
+ parser.add_argument("--serdi", default="tools/serdi", help="executable")
parser.add_argument("--wrapper", default="", help="executable wrapper")
if with_input:
parser.add_argument("input", help="input file")