You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><b>Add the module to <spanclass="tt">docs/module_categories.json</span></b> so it appears in this page</li>
402
402
</ol>
403
403
<p>Follow the pattern of existing modules like <spanclass="tt">m_body_forces</span> (simple) or <spanclass="tt">m_viscous</span> (more involved) as a template.</p>
<p>💡 <b>Tip:</b> If you encounter a validation error, check the relevant section above or review <ahref="https://github.com/MFlowCode/MFC/blob/master/toolchain/mfc/case_validator.py"><spanclass="tt">case_validator.py</span></a> for complete validation logic.</p>
<tdclass="markdownTableBodyNone"><spanclass="tt">--shard</span></td><tdclass="markdownTableBodyNone">Run only a subset of tests (e.g., '1/2' for first half, '2/2' for second half). </td><tdclass="markdownTableBodyNone">- </td></tr>
392
392
<trclass="markdownTableRowEven">
393
-
<tdclass="markdownTableBodyNone"><spanclass="tt">--generate</span></td><tdclass="markdownTableBodyNone">(Test Generation) Generate golden files. </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
393
+
<tdclass="markdownTableBodyNone"><spanclass="tt">--build-coverage-cache</span></td><tdclass="markdownTableBodyNone">Run all tests with gcov instrumentation to build the file-level coverage cache. Pass –gcov to enable coverage instrumentation in the internal build step. </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
394
394
<trclass="markdownTableRowOdd">
395
-
<tdclass="markdownTableBodyNone"><spanclass="tt">--add-new-variables</span></td><tdclass="markdownTableBodyNone">(Test Generation) If new variables are found in D/ when running tests, add them to the golden files. </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
395
+
<tdclass="markdownTableBodyNone"><spanclass="tt">--only-changes</span></td><tdclass="markdownTableBodyNone">Only run tests whose covered files overlap with files changed since branching from master (uses file-level gcov coverage cache). </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
396
396
<trclass="markdownTableRowEven">
397
-
<tdclass="markdownTableBodyNone"><spanclass="tt">--remove-old-tests</span></td><tdclass="markdownTableBodyNone">(Test Generation) Delete test directories that are no longer needed. </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
397
+
<tdclass="markdownTableBodyNone"><spanclass="tt">--changes-branch</span></td><tdclass="markdownTableBodyNone">Branch to compare against for –only-changes (default: master). </td><tdclass="markdownTableBodyNone"><spanclass="tt">master</span></td></tr>
<tdclass="markdownTableBodyNone"><spanclass="tt">--add-new-variables</span></td><tdclass="markdownTableBodyNone">(Test Generation) If new variables are found in D/ when running tests, add them to the golden files. </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
402
402
<trclass="markdownTableRowOdd">
403
+
<tdclass="markdownTableBodyNone"><spanclass="tt">--remove-old-tests</span></td><tdclass="markdownTableBodyNone">(Test Generation) Delete test directories that are no longer needed. </td><tdclass="markdownTableBodyNone"><spanclass="tt">false</span></td></tr>
<trclass="memdesc:a8f189b60d9f8aa4b5cfb8451d9bacd73"><tdclass="mdescLeft"> </td><tdclass="mdescRight">body force toggle in three directions amplitude, frequency, and phase shift sinusoid in each direction <br/></td></tr>
0 commit comments