On 18/07/14 13:36, Stefan Schmidt wrote: > Hello. > > On Fri, 2014-07-18 at 13:41, Lukasz Stanislawski wrote: >> >> W dniu 18.07.2014 12:10, Stefan Schmidt pisze: >>> Hello. >>> >>> On Tue, 2014-07-15 at 22:53, Tom Hacohen wrote: >>>> On 15/07/14 22:46, ryuan Choi wrote: >>>>> I compiled Elementary with tests and got below errors. >>>>> Some APIs look changed. >>>>> >>>>> What I did: >>>>> cd elementary >>>>> ./autogen.sh --prefix=/usr/elocal --with-tests=regular >>>>> make -j8 >>>>> sudo make install >>>>> make check -j8 >>>>> >>>>> Error message: >>>>> >>>>> elm_suite-elm_test_atspi.o: In function >>>>> `elm_test_atspi_object_children_get': >>>>> /home/ryuan/workspace/project/efl/elementary/src/tests/elm_test_atspi.c:262: >>>>> undefined reference to `_elm_atspi_root_get' >>>>> elm_suite-elm_test_atspi.o: In function `generate_app': >>>>> /home/ryuan/workspace/project/efl/elementary/src/tests/elm_test_atspi.c:35: >>>>> undefined reference to `_elm_atspi_init' >>>>> /home/ryuan/workspace/project/efl/elementary/src/tests/elm_test_atspi.c:37: >>>>> undefined reference to `_elm_atspi_root_get' >>>>> elm_suite-elm_test_entry.o: In function `elm_entry_atspi_text_text_get': >>>>> /home/ryuan/workspace/project/efl/elementary/src/tests/elm_test_entry.c:271: >>>>> undefined reference to `elm_interface_atspi_text_text_get' >>>>> >>>>> Best Regards, >>>>> Ryuan Choi >>>>> ------------------------------------------------------------------------------ >>>>> Want fast and easy access to all the code in your enterprise? Index and >>>>> search up to 200,000 lines of code with a free copy of Black Duck >>>>> Code Sight - the same software that powers the world's largest code >>>>> search on Ohloh, the Black Duck Open Hub! Try it now. >>>>> http://p.sf.net/sfu/bds >>>>> _______________________________________________ >>>>> enlightenment-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>>>> >>>> Hey, >>>> >>>> I fixed the issue with the entry test, thanks for reporting. No idea >>>> about the rest. Can't find those functions or any trace of them, and >>>> don't really have the time to try and find them in history. It would be >>>> great if whoever who wrote it will fix it. >>>> >>>> Stefan: don't we "make check" for elementary on jenkins? I wonder how >>>> this was missed for so long. >>> Took me a moment as I was on some training. >>> >>> We run make check but what we never did was actually configuring elm >>> with regular tests. I changed this now and it is segfaulting nicely on >>> jenkins. If anyone wants to have a look. >>> >>> https://build.enlightenment.org/job/changely_elm_gcc_x86_64/ws/src/tests/test-suite.log >> Hi Stefan, >> >> After quick invastigation it looks like segmentation faults may be >> caused by failures in setting elm objects text parts. Generally, all >> test cases doesn't assume that >> setting texts with elm_object_text_set method may fail and make string >> comparison directly on elm_object_text_get return value. >> I can add additonal NULL checks but all-in-all this tests will fail. >> >> It looks like elementary is unable to properly initialize without >> xserver running or because there is no desktop attached.(there are some >> log entries related to undefined desktop environmental variable). I'm >> not getting sigsegv on my local machine. > > Thanks for investigating. There should be Xfb running and thmese are > installed into the destdir, not into the host system. > > Reverting back to not running the tests now as I only have a few hours > left before going on vacation and already messing around with another > bug.
OK, if there's xfb you can ignore my other suggestion. I didn't know you had that there. -- Tom. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
