Skip to content

Conversation

@kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented Apr 16, 2025

This PR adds --output-on-failure to the "Run standalone unit tests" step so that test failures provide detailed output for easier debugging.


TYPE: NO_HISTORY
DESC: This PR adds --output-on-failure to the "Run standalone unit tests" step so that test failures provide detailed output for easier debugging.

run: |
ctest --test-dir build -R '(^unit_|test_assert)' --no-tests=error
ctest --test-dir build -R 'test_ci_asserts'
ctest --test-dir build -R '(^unit_|test_assert)' --no-tests=error --output-on-failure
Copy link
Member

Choose a reason for hiding this comment

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

We do have some rapidcheck tests in tiledb/common/algorithm/test/unit_parallel_merge.cc where we probably don't want to to this.

Can you add a [rapidcheck] tag to those tests, and then add that as a filter here so we run them separately without printing output?

@kounelisagis
Copy link
Member Author

It seems the failure is related to my changes.

@kounelisagis
Copy link
Member Author

I don't think this is needed since we already have the "Print log files (failed build only)" step, which does exactly this. I am suggesting to close this PR.

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