summaryrefslogtreecommitdiffstats
path: root/test/config.py
diff options
context:
space:
mode:
authorOle Troan <otroan@cisco.com>2022-12-01 11:22:06 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2022-12-07 10:33:20 +0000
commit37157dad514b85d008cf8e01a889889d8869f02b (patch)
treedfdbb28255c4e6d73a7a84333fb5ccb2fde47f5f /test/config.py
parentd7413835e1478b0c1356bae7d45e00061d7eb8d4 (diff)
tests: multiple apidir locations
To support testing of external plugins, add support to the test framework and PAPI for specifying a list of locations to look for api.json files. Type: improvement Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I128a306e3c091dc8ef994801b1470b82d2f4595d Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/config.py')
-rw-r--r--test/config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/config.py b/test/config.py
index e73555723ff..d2f14c82e19 100644
--- a/test/config.py
+++ b/test/config.py
@@ -302,6 +302,14 @@ parser.add_argument(
)
parser.add_argument(
+ "--extern-apidir",
+ action="append",
+ type=directory,
+ default=[],
+ help="directory to look for API JSON files",
+)
+
+parser.add_argument(
"--coredump-size",
action="store",
default="unlimited",