Skip to content
Snippets Groups Projects
Unverified Commit f2818a73 authored by Martin Prudek's avatar Martin Prudek :cyclone:
Browse files

netmetr: debug printouts turnable by cli switch

parent e9fcb009
No related branches found
No related tags found
1 merge request!23Netmetr dev
......@@ -15,7 +15,6 @@ import re
RMBT_BIN = "rmbt"
DEBUG = False # Debug printouts
HIST_FILE_PRE = "netmetr-history"
......@@ -372,8 +371,12 @@ parser.add_argument(
help='download measurement history from control server and save it to \
/tmp/' + HIST_FILE_PRE + '_<timestamp>.json'
)
parser.add_argument('--debug', action='store_true', help='enables debug \
printouts')
args = parser.parse_args()
DEBUG = args.debug
# When autostarted - check whether it is right time to run the test
# In uci config, we expect hours of a day separated by commas (,) - these hours
# are the time the test should be run. So whenever the script is started, it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment