This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
civilinfrastructureplatform:ciptestingreferencetestcases [2018/10/19 14:50] rajmarshall should -> must |
civilinfrastructureplatform:ciptestingreferencetestcases [2018/11/08 13:24] (current) rajmarshall add nowiki to the lavacli command so that '--'s appear correctly |
||
---|---|---|---|
Line 407: | Line 407: | ||
'' vagrant@guest:~/git-repos/linux-cip$ **export TREE_NAME=cip-example** '' | '' vagrant@guest:~/git-repos/linux-cip$ **export TREE_NAME=cip-example** '' | ||
- | // Note: This should be the same name you used when you built the kernel. // | + | // Note: This must be the same name you used when you built the kernel. // |
4. Create a test for use with the ''lava-tool'' utility from within the ''linux-cip'' git repository. | 4. Create a test for use with the ''lava-tool'' utility from within the ''linux-cip'' git repository. | ||
Line 506: | Line 506: | ||
give it a description and then click the 'View Token Hash' button and copy the displayed hash value. | give it a description and then click the 'View Token Hash' button and copy the displayed hash value. | ||
Then: | Then: | ||
- | '' vagrant@guest:~/git-repos/linux-cip$ **lavacli identities add --token <paste token here> --uri <nowiki>http://localhost:8080/RPC2</nowiki> --username lavauser boardAtDesk** '' | + | '' vagrant@guest:~/git-repos/linux-cip$ **<nowiki>lavacli identities add --token <paste token here> --uri http://localhost:8080/RPC2 --username lavauser boardAtDesk</nowiki>** '' |
Line 513: | Line 513: | ||
'' vagrant@guest:~/git-repos/linux-cip$ **export TREE_NAME=cip-example** '' | '' vagrant@guest:~/git-repos/linux-cip$ **export TREE_NAME=cip-example** '' | ||
- | // Note: This should be the same name you used when you built the kernel. // | + | // Note: This must be the same name you used when you built the kernel. // |
5. Create a test for use with the ''lava-tool'' utility from within the ''linux-cip'' git repository. | 5. Create a test for use with the ''lava-tool'' utility from within the ''linux-cip'' git repository. | ||
Line 621: | Line 621: | ||
vagrant@guest:~$ sudo cp testFileName.yaml /etc/lava-server/dispatcher-config/health-checks/DeviceName.yaml | vagrant@guest:~$ sudo cp testFileName.yaml /etc/lava-server/dispatcher-config/health-checks/DeviceName.yaml | ||
+ | So for the supported devices replace DeviceName with beaglebone-black.yaml or renesas-iwg20m.yaml as appropriate. | ||
+ | |||
If you wish to just test then use the [[ciptestingreferencetestcases#test-7use-lavacli-utility|lavacli instructions]], replacing the file with your appropriate test. | If you wish to just test then use the [[ciptestingreferencetestcases#test-7use-lavacli-utility|lavacli instructions]], replacing the file with your appropriate test. | ||
---- | ---- |