Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use empty match test files #2137

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

RossBrunton
Copy link
Contributor

This patch removes any empty ".match" files, and instructs ctest to
run the tests verbatim if there is no match file available.

As well as providing more useful output, this also handles the case
where the test startup and/or teardown causes the test runner to fail.
Previously, this would be ignored (as it produced no output).

@RossBrunton RossBrunton requested review from a team as code owners September 26, 2024 10:48
@github-actions github-actions bot added the conformance Conformance test suite issues. label Sep 26, 2024
This patch removes any empty ".match" files, and instructs ctest to
run the tests verbatim if there is no match file available.

As well as providing more useful output, this also handles the case
where the test startup and/or teardown causes the test runner to fail.
Previously, this would be ignored (as it produced no output).

I also modified cts_exe.py so that it uses the same parameters as
ctest, so the same command invocation could be used for both.
@RossBrunton
Copy link
Contributor Author

Merging without LLVM commit since this doesn't touch LLVM.

@RossBrunton RossBrunton merged commit a21a230 into oneapi-src:main Sep 26, 2024
74 checks passed
@RossBrunton RossBrunton deleted the ross/smartmatch branch November 6, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conformance Conformance test suite issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants