diff options
Diffstat (limited to 'test_support/src')
| -rw-r--r-- | test_support/src/intl_main.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test_support/src/intl_main.cpp b/test_support/src/intl_main.cpp new file mode 100644 index 0000000..4a74ac5 --- /dev/null +++ b/test_support/src/intl_main.cpp @@ -0,0 +1,13 @@ +#include <catch2/catch_session.hpp> + +#include <libintl.h> + +auto main(int argc, char * argv[]) -> int +{ + setlocale(LC_ALL, ""); + bindtextdomain("turns", TESTLOCALEDIR); + bind_textdomain_codeset("turns", "UTF-8"); + textdomain("turns"); + + return Catch::Session().run(argc, argv); +}
\ No newline at end of file |
