Skip to content

Commit a41e298

Browse files
committed
Adding check that conformance tests are enabled
1 parent 5eff5b8 commit a41e298

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module_renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _ensure_module_folders_exist(self, module_name: str, first_render_frid: str)
6666
f" codeplain {module_name}{plain_file.PLAIN_SOURCE_FILE_EXTENSION}"
6767
)
6868

69-
if not os.path.exists(conformance_tests_path):
69+
if not os.path.exists(conformance_tests_path) and self.args.render_conformance_tests:
7070
raise MissingPreviousFunctionalitiesError(
7171
f"Cannot start rendering from functionality {first_render_frid} for module '{module_name}' because the conformance tests folder does not exist.\n\n"
7272
f"To fix this, please render the module from the beginning by running:\n"

0 commit comments

Comments
 (0)