Support for running es2gears graphics tests

Asked by Milan K

Hello I am looking for some help/starting push to write a job that boots the board (this I have already completed), and then runs graphics tests on the board that I have in my directory. These are Open GL tests that are simple tutorials that run for a short period then return the frames per second (measurement).

I was hoping to get some help on writing a bash script to start this type of process in LAVA. Have it execute in the YAML file. Basically need LAVA to get into the directory where samples live, and then execute the command and return the fps.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
LAVA Dispatcher Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alan Bennett (akbennett) said :
#1

Please look at

https://validation.linaro.org/static/docs/writing-tests.html#recording-test-case-measurements-and-units

 Effectively;
  - cd into the directory
  - execute the test and put the frames per second value into the shell
variable fps
  - call lava-test-case, where you pass in a few values
     name of the test case, i.e. opengl-fps
     result=pass or fail
     measurement = the numeric measurement
     unit=fps

example

run:
   steps:
      - cd /directory test lives
      - fps=opengltest-frames-per-second
      - lava-test-case opengl-fps --result pass --measurement $fps --units fps

On 17 July 2014 10:31, Milan K <email address hidden> wrote:

> New question #251803 on LAVA Dispatcher:
> https://answers.launchpad.net/lava-dispatcher/+question/251803
>
> Hello I am looking for some help/starting push to write a job that boots
> the board (this I have already completed), and then runs graphics tests on
> the board that I have in my directory. These are Open GL tests that are
> simple tutorials that run for a short period then return the frames per
> second (measurement).
>
> I was hoping to get some help on writing a bash script to start this type
> of process in LAVA. Have it execute in the YAML file. Basically need LAVA
> to get into the directory where samples live, and then execute the command
> and return the fps.
>
> Thanks
>
> --
> You received this question notification because you are a member of
> Linaro Validation Team, which is an answer contact for LAVA Dispatcher.
>

--

Alan Bennett, Director of Product Technology
Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs |
Follow Linaro*:* Facebook <http://www.facebook.com/pages/Linaro> | Twitter
<http://twitter.com/#%21/linaroorg> | Blog
<http://www.linaro.org/linaro-blog/>
irc: akbennett | <email address hidden> | linaro toolchain, linaro stable
kernel & linaro lava

Can you help with this problem?

Provide an answer of your own, or ask Milan K for more information if necessary.

To post a message you must log in.