Closed GoogleCodeExporter closed 9 years ago
ps. This is on a normal x86_64 (amd64) linux system. (debian sid)
Original comment by culu....@gmail.com
on 18 Jul 2014 at 2:16
This is weird.
I cannot reproduce the error on Ubuntu 14.04 (amd64).
But when I was developing the new binary table format, I did ran into errors
repeatedly, when I had *.bin files generated by a previous version of
rime_test. After removing all the old .bin files the test succeeded.
Is it the case with you? Then try to rm path_to_the_build/test/*.bin ; though I
think this shouldn't had caused the error because the test would remove the old
table file on setup...
Original comment by chen....@gmail.com
on 18 Jul 2014 at 3:21
Hey, what's "--gtest_shuffle"?
Original comment by chen....@gmail.com
on 18 Jul 2014 at 3:23
[deleted comment]
I was wrong.
With the new binary format, a Table is not ready for reading after
Table::Build(); in order to do queries we need to reopen the table with
Table::Load().
That's why the test succeeds only if RimeTableTest.IntegrityTest is run before
any query method is tested. I'll try to fix it.
Thanks.
Original comment by chen....@gmail.com
on 18 Jul 2014 at 3:44
Fixed in this commit
https://github.com/lotem/librime/commit/c1f5240b601a9020b85f94a4882f0b64912e57e9
The bug long exists in rime_test itself. I think this won't mark the 1.2
release flawed.
Original comment by chen....@gmail.com
on 18 Jul 2014 at 6:11
Original issue reported on code.google.com by
culu....@gmail.com
on 18 Jul 2014 at 2:15