Skip to content

Comments

tests: rename C testbench to end-to-end test file#12

Merged
strimo378 merged 1 commit intomainfrom
codex/add-test-for-onnx-file-validation
Jan 10, 2026
Merged

tests: rename C testbench to end-to-end test file#12
strimo378 merged 1 commit intomainfrom
codex/add-test-for-onnx-file-validation

Conversation

@strimo378
Copy link
Contributor

Motivation

  • Rename the C testbench execution test to clearly indicate it is an end-to-end test.
  • Keep golden codegen checks separated from environment-dependent compilation and runtime comparisons.
  • Make test file naming consistent with the test behavior to improve discoverability.

Description

  • Renamed tests/test_c_testbench.py to tests/test_endtoend.py and added the new file to the repo.
  • Added a header note to tests/test_golden.py indicating it contains only golden codegen tests.
  • The end-to-end test compiles emitted C using CompilerOptions(template_dir=Path("templates"), emit_testbench=True), runs the binary, and skips when no C compiler is available.

Testing

  • Ran pytest -n auto -q against the codebase.
  • The test suite completed successfully with 12 passed.

Codex Task

@strimo378 strimo378 merged commit eb7a78b into main Jan 10, 2026
0 of 2 checks passed
@strimo378 strimo378 deleted the codex/add-test-for-onnx-file-validation branch January 10, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant