From 84c111ecd79bc1ae39ac931b85d221fdc7af431c Mon Sep 17 00:00:00 2001 From: Corey McCandless Date: Sun, 31 Jan 2021 16:55:18 -0500 Subject: [PATCH] do not fail generator if tests.toml not found --- bin/generate_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/generate_tests.py b/bin/generate_tests.py index d98216bb54..e46ab3911d 100755 --- a/bin/generate_tests.py +++ b/bin/generate_tests.py @@ -297,8 +297,8 @@ def generate_exercise(env: Environment, spec_path: Path, exercise: Path, check: try: test_opts = load_tests_toml(exercise) except FileNotFoundError: - logger.error(f"{slug}: tests.toml not found; please run canonical_data_syncer") - return False + logger.error(f"{slug}: tests.toml not found; skipping.") + return True spec = load_canonical(slug, spec_path, test_opts) additional_tests = load_additional_tests(exercise) spec["additional_cases"] = additional_tests