From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: dts and dtsi files on which I tested the syntax for my recent patch set. Date: Thu, 21 Oct 2010 14:11:39 +1100 Message-ID: <20101021031139.GD6227@yookeroo> References: <1287613337.4535.1508.camel@riker> <20101020234638.GB10250@angua.secretlab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20101020234638.GB10250-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: devicetree-discuss , John Bonesio List-Id: devicetree@vger.kernel.org On Wed, Oct 20, 2010 at 05:46:38PM -0600, Grant Likely wrote: > On Wed, Oct 20, 2010 at 03:22:17PM -0700, John Bonesio wrote: > > Hi, > > > > I have attached the two file I've used to test the new syntax from my > > patch set. These might help get a feel for how the syntax and the > > features work. > > heh, what you should actually do (because you have to anyway) is add > testcases for the new features to dtc in the tests directory. 'make > check' runs the test cases. Yes. It's pretty easy to add testcases to dtc. In this case you'd just need some simple example dts files using the syntax, along with a dts giving the expected result. Edit run_tests.sh to compile both versions and compare them. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson