Skip to content

Commit

Permalink
do not fail generator if tests.toml not found
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccandless authored and BethanyG committed Feb 2, 2021
1 parent ae3be07 commit 84c111e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/generate_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84c111e

Please sign in to comment.