On Fri, Nov 11, 2011 at 01:43:38PM -0200, Lucas Meneghel Rodrigues wrote:
> On 11/04/2011 07:01 PM, Don Zickus wrote:
> >I am new to autotest and ever since I started using it, I found myself
> >fumbling around trying to find or run tests.  It seemed more complicated
> >than it should be to be productive.
> >
> >Now I understand autotest is mainly used for automation, but it can
> >also be useful to the individual developer who wants to run some tests
> >local in a controlled environment.
> >
> >As a person who enjoys the subcommands found in git and perf, I decided
> >to create a framework to support subcommands to help me navigate
> >around autotest.
> >
> >This patch is the basic piece that hooks into autotest.  Later patches
> >add commands that I find useful (and I hope others do too :-) ).
> >
> >The approach I took was to try and keep the original autotest workflow
> >and just quickly jump into a function to test for certains commands and
> >process them.  Otherwise, just return and do the normal autotest workflow.
> 
> +1 for this, and we'll certainly get there. I have some comments
> about the code, and as I was thinking about your patchset during the
> week, I remember that our CLI does have a pretty sophisticated
> parsing system to do command parsing to make it work just like git,
> such as
> 
> cli/atest job list
> cli/atest job abort
> cli/atest job help
> 
> And things like that. Also, cli is kinda of our 'crown jewel' in
> autotest because it's almost 90% unit tested (my compliments Jean
> Marc and crew). I think I have delayed looking into your patch
> because I wanted to look at how we would implement your proposal
> with the API in there. But what the hell, let's just review your
> stuff now and think about next steps later...

Heh.  I always saw that directory but didn't understand what it was for.
I was just used to using autotest for running everything.

I will spend some time looking at it and seeing how I can tweak it to meet
my needs (if it doesn't already).  Thanks for the tip.

Cheers,
Don
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to