projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463ad40
)
render-test: Initialize i18n to make tests pass on mingw.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 3 Aug 2020 04:31:22 +0000
(
04:31
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 3 Aug 2020 04:31:22 +0000
(
04:31
+0000)
On mingw, filename recoding requires i18n to be initialized.
tests/output/render-test.c
patch
|
blob
|
history
diff --git
a/tests/output/render-test.c
b/tests/output/render-test.c
index 19bb0ccfab5321a8312b015bfe466ec43e5009f6..b9ddd3e7f9491976a85c4dcfbeb9d1c821ed4a02 100644
(file)
--- a/
tests/output/render-test.c
+++ b/
tests/output/render-test.c
@@
-25,6
+25,7
@@
#include "data/file-handle-def.h"
#include "libpspp/assertion.h"
#include "libpspp/compiler.h"
+#include "libpspp/i18n.h"
#include "libpspp/string-map.h"
#include "output/ascii.h"
#include "output/driver.h"
@@
-76,6
+77,7
@@
main (int argc, char **argv)
FILE *input;
set_program_name (argv[0]);
+ i18n_init ();
output_engine_push ();
input_file_name = parse_options (argc, argv);