Tests: Add info to "benchmark directory not initialized" error message

This commit is contained in:
Hans Goudey
2024-11-05 12:10:07 +01:00
parent b95b5e0f77
commit 543132497c

View File

@@ -369,7 +369,9 @@ def main():
sys.exit(0)
if not env.base_dir.exists():
sys.stderr.write('Error: benchmark directory not initialized\n')
sys.stderr.write(
'Error: benchmark directory not initialized. '
'Run the \"init\" command to create the directory and a default configuration.\n')
sys.exit(1)
if args.command == 'list':