mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
[test] Fix params model test.
This commit is contained in:
parent
7300e87f3e
commit
79226fa7cf
@ -50,6 +50,11 @@ class ParamsModelTest : public testing::Test {
|
||||
void TestParamsModelRoundTrip(const std::string& params_model_filename) const {
|
||||
tesseract::ParamsModel orig_model;
|
||||
tesseract::ParamsModel duplicate_model;
|
||||
#if defined(_WIN32)
|
||||
_mkdir(FLAGS_test_tmpdir);
|
||||
#else
|
||||
mkdir(FLAGS_test_tmpdir, S_IRWXU | S_IRWXG);
|
||||
#endif
|
||||
std::string orig_file = TestDataNameToPath(params_model_filename);
|
||||
std::string out_file = OutputNameToPath(params_model_filename);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user