Skip to content

Follow up: fix compilation profile in program tests - #459

Merged
sgrava merged 1 commit into
mainfrom
sg/fix-copilation-profile-in-program-tests
Aug 19, 2026
Merged

sgrava merged 1 commit into
mainfrom
sg/fix-copilation-profile-in-program-tests

Conversation

@sgrava

@sgrava sgrava commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #458, part of the work towards #455

Description

Previous PR #458 did not update some compile_to calls in the test suite to explicitly set a profile.
This PR fixes the ones missed there.

Changes

  • Explicitly set the CompilerProfile in tests/test_program.py (test_compiler_dmm, test_compile_to_max_duration) instead of relying on the default, and adjust the amplitude value used in test_compile_to_max_duration accordingly.

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-19 11:18 UTC

@sgrava
sgrava requested a review from abussy-pasqal August 19, 2026 07:53
@sgrava sgrava added this to the v1.4 milestone Aug 19, 2026
@sgrava sgrava linked an issue Aug 19, 2026 that may be closed by this pull request
4 tasks
@sgrava sgrava changed the title Fix compilation profile in program tests Follow up: fix compilation profile in program tests Aug 19, 2026
@sgrava
sgrava merged commit dfae38b into main Aug 19, 2026
16 checks passed
@sgrava
sgrava deleted the sg/fix-copilation-profile-in-program-tests branch August 19, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

set default compilation

2 participants