CoolProp  6.6.0
An open-source fluid property and humid air property database
catch_always_return_success.cxx
Go to the documentation of this file.
1 // This file is used in tests to always return success
2 // so that address sanitizer's return code will be the
3 // return code that is fed back to buildbot, not the
4 // number of failing catch tests
5 
6 #define CATCH_CONFIG_RUNNER
7 #include <catch2/catch_all.hpp>
8 #include <iostream>
9 
10 int main(int argc, char* argv[]) {
11  int result = Catch::Session().run(argc, argv);
12  std::cout << "Result is:" << result << std::endl;
13  return EXIT_SUCCESS;
14 }