Skip to content
Snippets Groups Projects
Commit 5550d068 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added check on supported --app argument.

parent f0093734
No related branches found
No related tags found
No related merge requests found
......@@ -46,8 +46,13 @@ import sys
###############################################################################
tc = test_case.Testcase('MAIN - ', '')
supportedApps = ['apertif-ag', 'apertif-dev', 'arts_sc1', 'arts_sc4']
if tc.appStr in supportedApps:
app_str = 'Application: ' + tc.appStr
tc.append_log(1, app_str)
else:
tc.append_log(1, 'Exit due to unsupported --app , must be one of %s.' % supportedApps)
sys.exit()
lcu_str = 'Targetting LCUs: '
LCUS = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment