Merge pull request #568 from ohagendorf/make_py

Tools: make.py - additional error handling when missing an option in private_setttings.py
pull/570/merge
Martin Kojtal 2014-10-17 08:13:48 +02:00
commit e142c71e57
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,8 @@ if __name__ == '__main__':
args_error(parser, "[ERROR] Program with name '%s' not found" % n)
else:
n = alias
else:
args_error(parser, "[ERROR] Program with name '%s' not found" % n)
p = TEST_MAP[n].n
if p is None or (p < 0) or (p > (len(TESTS)-1)):
message = "[ERROR] You have to specify one of the following tests:\n"