Re: Testing machine descriptions

2014-03-28 Thread Niranjan Hasabnis
Thanks for the info. I will try it out. On Fri, Mar 28, 2014 at 12:07 AM, Senthil Kumar Selvaraj wrote: > On Thu, Mar 27, 2014 at 07:51:06PM -0400, Niranjan Hasabnis wrote: >> Hi DJ Delorie, >> >> Thank you for your answer. It is useful. One more question: so does the >> main testsuite cover all

Re: Testing machine descriptions

2014-03-27 Thread DJ Delorie
Is there some way to get insight into which alternatives get used during a coverage run?

Re: Testing machine descriptions

2014-03-27 Thread Senthil Kumar Selvaraj
On Thu, Mar 27, 2014 at 07:51:06PM -0400, Niranjan Hasabnis wrote: > Hi DJ Delorie, > > Thank you for your answer. It is useful. One more question: so does the > main testsuite cover all md entries? Meaning all possible assembly > instructions that could be generated by that md are checked by the

Re: Testing machine descriptions

2014-03-27 Thread Niranjan Hasabnis
Hi DJ Delorie, Thank you for your answers. It is very much the information that I was looking for. On Thu, Mar 27, 2014 at 7:57 PM, DJ Delorie wrote: > > The main testsuite doesn't have tests specifically to cover all the md > entries. What I meant was, I suspect it covers enough plain C test >

Re: Testing machine descriptions

2014-03-27 Thread DJ Delorie
The main testsuite doesn't have tests specifically to cover all the md entries. What I meant was, I suspect it covers enough plain C test cases to happen to use all the usual md entries. Since each target has different md entries (both "which are used" and "how each is used"), it would be nearly

Re: Testing machine descriptions

2014-03-27 Thread Niranjan Hasabnis
Hi DJ Delorie, Thank you for your answer. It is useful. One more question: so does the main testsuite cover all md entries? Meaning all possible assembly instructions that could be generated by that md are checked by the main testsuite? Thank you again. On Thu, Mar 27, 2014 at 7:22 PM, DJ Delorie

Re: Testing machine descriptions

2014-03-27 Thread DJ Delorie
I've thought about making a dejagnu testsuite specifically for helping with new ports, which would mean lots of md-specific tests, but really, the main testsuite probably covers everything you'd need to test. All patches are supposed to be regression tested anyway, which means running the full de

Testing machine descriptions

2014-03-27 Thread Niranjan Hasabnis
Hello, I am very curious to know what kind of testing techniques are applied to machine description files. To be precise, is there any unit-testing environment when some instructions are added/removed from MD file, or any other testing technique is applied? Also, when MD file is patched to fix a b