Re: [PATCH v2] skip the test when gcc not deployed

2019-05-23 Thread Yu, Mingli
On 2019年05月23日 19:28, Mark Wielaard wrote: Hi, On Tue, May 21, 2019 at 03:33:06PM +0800, mingli...@windriver.com wrote: Skip the tests which depend on gcc when gcc not deployed. What exactly are you trying to do? When would you run make check without having gcc installed? Thanks Mark! I

Re: How to use test-nlist

2019-05-23 Thread Mark Wielaard
On Fri, May 24, 2019 at 02:36:15PM +0800, Yu, Mingli wrote: > > Yes. See the source code. > > The test tries to run nlist on "./test-nlist". > > Which package provides nlist, I didn't found nlist in my system. nlist is a function in libelf, one of the libraries of elfutils. Cheers, Mark

Re: How to use test-nlist

2019-05-23 Thread Yu, Mingli
On 2019年05月24日 14:36, Yu, Mingli wrote: On 2019年05月24日 14:23, Mark Wielaard wrote: On Fri, May 24, 2019 at 11:00:57AM +0800, Yu, Mingli wrote: On 2019年05月23日 19:50, Mark Wielaard wrote: # ./tests/test-nlist nlist failed You are supposed to run it with make check. make check TESTS=test-n

Re: How to use test-nlist

2019-05-23 Thread Yu, Mingli
On 2019年05月24日 14:23, Mark Wielaard wrote: On Fri, May 24, 2019 at 11:00:57AM +0800, Yu, Mingli wrote: On 2019年05月23日 19:50, Mark Wielaard wrote: # ./tests/test-nlist nlist failed You are supposed to run it with make check. make check TESTS=test-nlist test-nlist tries to run nlist on itse

Re: How to use test-nlist

2019-05-23 Thread Mark Wielaard
On Fri, May 24, 2019 at 11:00:57AM +0800, Yu, Mingli wrote: > On 2019年05月23日 19:50, Mark Wielaard wrote: > > > # ./tests/test-nlist > > > nlist failed > > > > You are supposed to run it with make check. > > make check TESTS=test-nlist > > > > test-nlist tries to run nlist on itself. > > So it has

Re: How to use test-nlist

2019-05-23 Thread Yu, Mingli
On 2019年05月23日 19:50, Mark Wielaard wrote: On Thu, May 23, 2019 at 04:52:39PM +0800, Yu, Mingli wrote: I run some tests about elfutils, but one test as test-nlist always fails as below: # ./tests/test-nlist nlist failed You are supposed to run it with make check. make check TESTS=test-nlis

Re: How to use test-nlist

2019-05-23 Thread Mark Wielaard
On Thu, May 23, 2019 at 04:52:39PM +0800, Yu, Mingli wrote: > I run some tests about elfutils, but one test as test-nlist always fails as > below: > > # ./tests/test-nlist > nlist failed You are supposed to run it with make check. make check TESTS=test-nlist test-nlist tries to run nlist on itse

Re: [PATCH v2] skip the test when gcc not deployed

2019-05-23 Thread Mark Wielaard
Hi, On Tue, May 21, 2019 at 03:33:06PM +0800, mingli...@windriver.com wrote: > Skip the tests which depend on gcc when > gcc not deployed. What exactly are you trying to do? When would you run make check without having gcc installed? If this is to check against an alternative compiler? In the la

How to use test-nlist

2019-05-23 Thread Yu, Mingli
Hi Expert, I run some tests about elfutils, but one test as test-nlist always fails as below: # ./tests/test-nlist nlist failed # cd tests # ./test-nlist -d nl[0].n_name = "var" nl[0].n_value = 0 nl[0].n_scnum = 0 nl[0].n_type = 0 nl[0].n_sclass = 0 nl[0].n_numaux = 0 nl[1].n_name = "bss" n