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

Upgrade Catch2 library to v2.13.8 #1652

Merged

Conversation

AngelicosPhosphoros
Copy link
Contributor

@AngelicosPhosphoros AngelicosPhosphoros commented Jun 26, 2022

Summary

SUMMARY: Infrastructure "Upgrade Catch2 library to v2.13.8"

Purpose of change

Older version was problematic during C++20 migration so I updated library version. Decided to make it different PR because C++20 migration appears to be not so easy as I thought so I decided to split away complete parts.

Describe the solution

I just copied their file from their release in github.
I edited one variable name in their code because it clashed with our translation define (changed it from _ to __).

Also removed catch.h from clang-tidy checks.

Describe alternatives you've considered

Testing

Additional context

Excluded catch from clang-tidy because it is third-party library.

Older version was [problematic](catchorg/Catch2#2272) during C++20 migration so I updated library version. Decided to make it different PR because C++20 migration appears to be not so easy as I thought so I decided to split away complete parts.

I just copied their file from [their release](https://github.com/catchorg/Catch2/releases/tag/v2.13.8) in github.
I edited one variable name in their code because it clashed with our translation define (changed it from `_` to `__`).

Also removed catch.h from clang-tidy checks
@Coolthulhu Coolthulhu self-assigned this Jun 28, 2022
@Coolthulhu Coolthulhu merged commit 3191ad6 into cataclysmbnteam:upload Jun 28, 2022
@AngelicosPhosphoros AngelicosPhosphoros deleted the upgrade_catch_2 branch June 29, 2022 07:13
joveeater pushed a commit to joveeater/Cataclysm-BN that referenced this pull request Jul 10, 2022
Older version was [problematic](catchorg/Catch2#2272) during C++20 migration so I updated library version. Decided to make it different PR because C++20 migration appears to be not so easy as I thought so I decided to split away complete parts.

I just copied their file from [their release](https://github.com/catchorg/Catch2/releases/tag/v2.13.8) in github.
I edited one variable name in their code because it clashed with our translation define (changed it from `_` to `__`).

Also removed catch.h from clang-tidy checks
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.

2 participants