aboutsummaryrefslogtreecommitdiffstats
path: root/vsperf
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-09-01 11:26:28 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-09-07 10:29:55 +0530
commit17e20bfa70d1a9ce5e6ee6687245e3e22f3633a8 (patch)
tree76240b45f7bc1ef5de20a60866908b0a3c33b7a8 /vsperf
parent8f4fd575ae70079d2bff9f9af4b251a3961b7428 (diff)
Clean Output Option.
This patch adds support for clean output - displaying only final results. User has to run with --verbosity and level as error or critical. --verbosity is an existing option. Remove unnecessary spaces Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Id227a4b787c4c7e4dd97f28009946ac6a8a802d3
Diffstat (limited to 'vsperf')
-rwxr-xr-xvsperf7
1 files changed, 7 insertions, 0 deletions
diff --git a/vsperf b/vsperf
index 1fb52429..0bc1937c 100755
--- a/vsperf
+++ b/vsperf
@@ -747,6 +747,13 @@ def main():
# if required, handle list-* operations
handle_list_options(args)
+ # Using verbosity to run 'clean' test-runs.
+ if args['verbosity']:
+ settings.setValue('VERBOSITY', args['verbosity'])
+ settings.setValue('CLEAN_OUTPUT', True)
+ else:
+ settings.setValue('CLEAN_OUTPUT', False)
+
configure_logging(settings.getValue('VERBOSITY'))
# CI build support