aboutsummaryrefslogtreecommitdiffstats
path: root/test/config.py
diff options
context:
space:
mode:
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 e5c52b997d6..511c3c6ae09 100644
--- a/test/config.py
+++ b/test/config.py
@@ -408,6 +408,14 @@ parser.add_argument(
"/var/run/user/${uid}/vpp.",
)
+default_decode_pcaps = False
+parser.add_argument(
+ "--decode-pcaps",
+ action="store_true",
+ default=default_decode_pcaps,
+ help=f"if set, decode all pcap files from a test run (default: {default_decode_pcaps})",
+)
+
config = parser.parse_args()
ws = config.vpp_ws_dir