Skip to content

Commit ff3661c

Browse files
oharboeclaude
andcommitted
flow: add 137 unit tests for platform config.py files
Tests cover all Make constructs used across the 6 platform config.mk files: unconditional/conditional assignment, +=, glob, ifeq/ifneq, variable indirection, PLACEHOLDER template expansion, foreach/eval VT loop, SDC clock extraction, corner selection, CLUSTER_FLOPS, design-config overrides, and Make shim round-trip format validation. Includes __main__ guard so Jenkins CI can run it with plain python. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent c00db00 commit ff3661c

2 files changed

Lines changed: 1205 additions & 0 deletions

File tree

‎flow/test/conftest.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import pytest
2+
3+
4+
def pytest_configure(config):
5+
config.addinivalue_line(
6+
"markers", "integration: mark test as integration test (requires Make)"
7+
)

0 commit comments

Comments
 (0)