osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Windows Build is broken

Open MoKob opened this issue 10 years ago • 3 comments

With the recent merge of the io refactor, it seems the windows build broke:

  • [x] fix failing test on appveyor (C:/projects/osrm/unit_tests/util/io.cpp(125): fatal error: in "osrm_io/io_read_lines": Expected the first line to be A)

/cc @danpat

MoKob avatar Dec 01 '16 10:12 MoKob

For the record:

https://github.com/Project-OSRM/osrm-backend/blob/5775679f64747702342b9f5a536817d17ec2c60b/unit_tests/util/io.cpp#L125

This should not fail cc @ghoshkaj

daniel-j-h avatar Dec 01 '16 12:12 daniel-j-h

By the way printing the expected error messages in the tests there is somewhat confusing:

Error opening non_existent_test_io.tmp:No such file or directory Error reading from file_too_small_test_io.tmp: Unexpected end of file Fingerprint mismatch in corrupt_fingerprint_file_test_io.tmp C:/projects/osrm/unit_tests/util/io.cpp(126): fatal error: in "osrm_io/io_read_lines": Expected the first line to be A

the first three lines are expected (!) errors. The last one is not.

daniel-j-h avatar Dec 01 '16 15:12 daniel-j-h

Fixed with https://github.com/Project-OSRM/osrm-backend/pull/3391

ghoshkaj avatar Dec 01 '16 21:12 ghoshkaj