Comment 3 for bug 1052545

Revision history for this message
Milo Casagrande (milo) wrote : Re: [Bug 1052545] Re: Missing XML-RPC to get list of test names

Hello Andy,

thanks for the input!

On Wed, Sep 19, 2012 at 12:02 AM, Andy Doan <email address hidden> wrote:
> I think you are on the right track here. However, rather than listing
> all tests, we could probably make this function take some params. For
> example, if we know:
>
> device-type (panda, vexpress, origen, etc)
> build-type (android / ubuntu)
>
> You could actually filter down the list of tests more appropriately.

Something like that would be awesome for us, but I guess I need a
little bit of guidance here then.
Looking at the Test model in 'lava_dashboard/dashboard_app/models.py',
the model is pretty simple, there is no information about device or
build.

The only reference about hardware I found is in TestRun model, that
refers to HardwareDevice, but the latter is not really helpful.

> Maybe make those two parameters above optional or something?

I added them, although not used ATM, and pushed into the branch.
Thanks for all the help!

--
Milo Casagrande
Infrastructure Engineer
Linaro.org <www.linaro.org> │ Open source software for ARM SoCs