how to install lava-test on board

Asked by songqi

Hi all:
when I run "lava-dispatcher job1.json",it will run lava-test on board.Do I need to install lava-test on board?If it is ,then how to?How to include my own test script?
my board is atmel board.
Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
LAVA Dispatcher Edit question
Assignee:
Spring Zhang Edit question
Last query:
Last reply:
Revision history for this message
Spring Zhang (qzhang) said :
#1

If you want to run lava-test test cases, of course you need to install lava-test on the board, there is an action you can include in your job file, the action is "lava_test_install", e.g.:
    {
      "command": "lava_test_install",
      "parameters":
        {
            "tests": ["stream"]
        }
    },

You can refer to doc/examples/jobs/*.json in lp:lava-dispatcher, the available cases in lava-test, you can use 'lava-test list-tests" to see, after you installed lava-test(if just for demo, x86 is ok too):

$ lava-test list-tests
Known tests:
firefox
glmemperf
gmpbench
gtkperf
ltp
peacekeeper
posixtestsuite
pwrmgmt
pybench
stream
tiobench
x11perf

Revision history for this message
Spring Zhang (qzhang) said :
#2

If you'd like to try installing lava-test separately, you can install from source:
bzr branch lp:lava-test
cd lava-test
python ./setup.py install

It can refer to README in lava-test code.

Or use pip:
apt-get install pip
pip install lava-test

Can you help with this problem?

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

To post a message you must log in.