Skip to content

Splitting long targettests into smaller ones#4260

Open
Renaud-K wants to merge 3 commits intoNVIDIA:mainfrom
Renaud-K:split-targettests
Open

Splitting long targettests into smaller ones#4260
Renaud-K wants to merge 3 commits intoNVIDIA:mainfrom
Renaud-K:split-targettests

Conversation

@Renaud-K
Copy link
Copy Markdown
Collaborator

@Renaud-K Renaud-K commented Apr 6, 2026

  1. Generate a check_compile.cpp for each target. The tests are generated in lit.cfg.py
  2. Break up args_synthesis into multiple tests. The test was already divided into multiple sections controlled by these MACROs:
#define RUN_SINGLE_ARGUMENT_TESTS 1
#define RUN_TWO_POD_ARGUMENTS_TESTS 1
#define RUN_TWO_ARGUMENTS_POD_CONTAINER_TESTS 1
#define RUN_TWO_CONTAINER_ARGUMENTS_TESTS 1
#define RUN_MIXED_ARGUMENTS_TESTS 1
362.92s: CUDAQ-Target :: TargetConfig/check_compile.cpp
188.88s: CUDAQ-Target :: Remote-Sim/args_synthesis.cpp
105.88s: CUDAQ-Target :: execution/state_preparation_vector_size.cpp
...
Testing Time: 362.96s

To:

Slowest Tests:
--------------------------------------------------------------------------
116.97s: CUDAQ-Target :: execution/state_preparation_vector_size.cpp
...
Testing Time: 275.47s

Signed-off-by: Renaud Kauffmann <rkauffmann@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 6, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@taalexander
Copy link
Copy Markdown
Collaborator

taalexander commented Apr 7, 2026

/ok to test 80ab685

Command Bot: Processing...

Copy link
Copy Markdown
Collaborator

@1tnguyen 1tnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Signed-off-by: Renaud Kauffmann <rkauffmann@nvidia.com>
@Renaud-K
Copy link
Copy Markdown
Collaborator Author

Renaud-K commented Apr 7, 2026

/ok to test 3d2ce19

Command Bot: Processing...

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.

3 participants