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>
diff --git a/test/config.py b/test/config.py
index e735557..d2f14c8 100644
--- a/test/config.py
+++ b/test/config.py
@@ -302,6 +302,14 @@
)
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",