Hack up gettext to try to fix CentOS build

https://github.com/fish-shell/fish-shell/issues/645
This commit is contained in:
ridiculousfish
2013-04-08 10:20:56 -07:00
parent b8f34cdd35
commit b936be8e34
6 changed files with 49 additions and 35 deletions

View File

@@ -1698,6 +1698,12 @@ void history_tests_t::test_history_speed(void)
*/
int main(int argc, char **argv)
{
std::string tmp = "sldfjsdlkfjsdlkfjlf";
for (size_t i=0; i < 1000000; i++) {
str2wcstring(tmp);
}
exit(0);
setlocale(LC_ALL, "");
srand(time(0));
configure_thread_assertions_for_testing();
@@ -1714,6 +1720,7 @@ int main(int argc, char **argv)
builtin_init();
reader_init();
env_init();
test_format();
test_escape();