Cmake and unitest target

551 views
Skip to first unread message

Pierrick Hymbert

unread,
Dec 16, 2023, 4:27:34 AM12/16/23
to tesseract-dev
Hello tesseract dev community,

firstly thanks for the nice and impressive job you are doing here.

I would like to run some unit tests from the main branch using cmake toolchain, could you please point me out some documentation?

if there is not, I would be happy to issue a small PR to add few unittest (for example apiexample and lstm) using cmake  BUILD_TESTS option, plus add them in the gitlab action.

Thanks

Zdenko Podobny

unread,
Dec 16, 2023, 4:31:12 AM12/16/23
to tesser...@googlegroups.com
Hello,

tests are implemented only in make toolchain.
Feel free to send PR if you need unit test in cmake if you need it (just make it, please portable, so it work on all major platforms)

Zdenko


so 16. 12. 2023 o 10:27 Pierrick Hymbert <pierrick...@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "tesseract-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-dev/eb5943b9-838c-4084-9a5f-b58aa95cff5cn%40googlegroups.com.

Pierrick Hymbert

unread,
Dec 16, 2023, 6:55:02 PM12/16/23
to tesseract-dev
Thanks for your answer: I have issued a draft PR [1] - happy to have your early feedback.

Do you think we should also run unit tests on the cmake build github workflow ? I have enabled it on my fork repo [2], so far it is slow and does not pass. Note also the unittest build is not passing on win64 [3] - I may have a look later on.

Reply all
Reply to author
Forward
0 new messages