Skip to content

Commit

Permalink
Printing compiler and STL version for STL.
Browse files Browse the repository at this point in the history
Makes things possibly easier when analyzing problems on the GitHub
windows runner.
  • Loading branch information
Sedeniono committed Jun 8, 2024
1 parent ef9b045 commit c123463
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ int main()
_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_DEBUG);
#endif

#ifdef TINY_OPTIONAL_MSVC_BUILD
std::cout << "Microsoft compiler version (_MSC_FULL_VER): " << _MSC_FULL_VER << std::endl;
std::cout << "Microsoft STL version (_MSVC_STL_UPDATE): " << _MSVC_STL_UPDATE << std::endl;
#endif

try {
std::cout << "Running tests..." << std::endl;
RunTests();
Expand Down

0 comments on commit c123463

Please sign in to comment.