aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython/run-tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/run-tests.py b/python/run-tests.py
index fd56c7ab6e..152f5cc98d 100755
--- a/python/run-tests.py
+++ b/python/run-tests.py
@@ -167,7 +167,8 @@ def main():
if module_name in python_modules:
modules_to_test.append(python_modules[module_name])
else:
- print("Error: unrecognized module %s" % module_name)
+ print("Error: unrecognized module '%s'. Supported modules: %s" %
+ (module_name, ", ".join(python_modules)))
sys.exit(-1)
LOGGER.info("Will test against the following Python executables: %s", python_execs)
LOGGER.info("Will test the following Python modules: %s", [x.name for x in modules_to_test])