This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




On 2019年05月24日 15:03, Mark Wielaard wrote:
Hi,

On Fri, May 24, 2019 at 02:47:25PM +0800, Yu, Mingli wrote:
On Tue, May 21, 2019 at 03:33:06PM +0800, mingli.yu@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 just run the check without having gcc installed, and of cource no compiler
installed in my test env.

I don't think that is a realistic test environment for testing the
elfutils libraries. You have to have the tools to create various ELF
files and DWARF data to properly test things work correctly.

Yes, we use elfutils in cross compile env, one works as build host which we build all the packages and of course gcc installed on the build host and another as target which only deployed the necessary packages which we have build on the build host.
And this is the case we just run the test on the target.

I think it make sense to check the gcc and make it skip if the cases depends on gcc.

Thanks,


Cheers,

Mark



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]