summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-15Fix PROJECT_URL in config.cmakekoi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.010.93.010.92.010.91.0Li, Xiaoming1-1/+1
Bug-AGL: SPEC-3578 Change-Id: Ia630cba790c0845c35a16dc5693f3abb7049fb50 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-09-03SPEC-3484: fix a typojellyfish_9.99.4jellyfish/9.99.49.99.4Corentin LABBE1-1/+1
When working on SPEC-3484, I found a typo in the usage printing. Bug-AGL: SPEC-3484 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Change-Id: Ia904bedd3e6e3ab919cbde1262c18d7c7f8c646c
2020-07-21Export publicly lua filesjellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.3jellyfish/9.99.29.99.39.99.2José Bollo1-0/+6
The provided widget is automatically exported publicly but its lua scripts file also need to be exported publicly. This fixes. Bug-AGL: SPEC-3489 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: Idfd2a5f26743604159f683621a016b21cb29c391
2020-07-21afm-test: fix kill issues + install from wgt idClément Bénier1-22/+27
- fix kill issues: when a binding finished too quickly, the return of afm-util start can be empty, so it is necessary to test this case - pass argument wgt id: add the way to pass the wgt id instead of the path to the test wgt Bug-AGL: SPEC-3466, SPEC-3457 Signed-off-by: Clément Bénier <clement.benier@iot.bzh> Change-Id: Ia2fb78b25b70c760f05753d669d7bd98fcd8dad7
2020-07-16rename LICENSE-2.0.txt to LICENSELi, Xiaoming1-0/+0
It will comply with the file naming spec of other open source packages, also bring in some convenience to the license clearing work. Bug-AGL: SPEC-3440 Change-Id: I5adb8029eac7d9fccfd6fc288853d835e972d5b9 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-06-12Update autobuild scriptsjellyfish_9.99.1jellyfish/9.99.19.99.1Scott Murray2-204/+154
Update autobuild scripts with reworked version that fixes building outside of the source tree. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I347733e05cd063b36d4e73aa0c85290696d275d8
2020-02-24Change skip test verbFrederic Marec1-2/+2
Skip test was before under condition and it was evaluating the test before skipping it. Change is to skip the test without any previous evaluation to avoid failure return. Bug-AGL: SPEC-3198 Change-Id: I0a3d2d0f9adb8680370b237151b84e4ab0f761a3 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2020-02-18Update autobuild script to create new targetsFrederic Marec2-26/+174
Update autobuild script to create multiple widget target debug, coverage and all Bug-AGL: SPEC-2049 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Change-Id: Ie85bfa8572c5b35ff1db16ce9474a5b19a41486b
2020-02-11Update .gitreview fileJan-Simon Möller1-1/+0
This updates the gitreview file in the project . Change-Id: I9274fa2055c403862c0f058b6ca0d8640eaab9a1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-01-24afm-test target: change order of the scripticefish_8.99.5icefish/8.99.58.99.5Clément Bénier1-2/+3
- indeed removing afb test delete rules entry of User::App::<nameofbinder>. - so read the test results, before removing widget BUG-AGL: SPEC-2795 Signed-off-by: Clément Bénier <clement.benier@iot.bzh> Change-Id: I1dddd2cff6e778c8d655e6551ec7e6e6635c80ed
2019-12-06Change functions following controller modificationicefish_8.99.4icefish/8.99.48.99.4Frederic Marec1-2/+2
CONTROL_PREFIX variable was remove in CtlLoadMetaDataJson and CtlLoadMetaDataUsingPrefix from libappcontroller Bug-AGL: SPEC-3011 Change-Id: If3dbb5af6a64629257ff1aad2c812e60b44318f2 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-10-15Fix event management in test frameworkicefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.38.99.28.99.1Frederic Marec6-76/+102
Fix event receive Fix event not receive Fix lockwait event Remove trailing indentation Bug-AGL: SPEC-2374 Change-Id: Ie64b23c242bc13dcf7af96ff3ed2316bf6cad5f7 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-09-09docs: Fix markdown syntaxLi Xiaoming5-18/+20
1) Fenced code blocks's keyword "```" should be placed in row 0, or markdown interpreter will not recognize it; 2) Add blank line between header and content to produce line break. Bug-AGL: SPEC-2714 Change-Id: I535a5b906df1b9839befa45bd37e921686cb59ae Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-291_Write_the_test.md:Fix folder treeLi Xiaoming1-12/+14
Bug-AGL: SPEC-2714 Change-Id: Iffed0dac160814bd2d8cfa8076b639cf24117f8f Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-06Remove duplication include fileLi Xiaoming1-1/+0
ctl-config.h is already included in mapis.h Bug-AGL: SPEC-2422 Change-Id: I8743d8e49d067e25f6b13c2216f83fc296a4e36d Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-05-28aft: adapt afb-test allow skip testhalibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.0.07.99.37.99.27.99.1Frederic Marec3-3/+38
Add skipped functions Add testVerbStatusSkipped Add assertVerbStatusSkipped Add documentation Bug-AGL: SPEC-2447 Change-Id: I84dd96b29e4838d6a1b951dc2aa230b6da3c048a Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-28Update luaunitFrederic Marec1-112/+242
Bump luaunit to allow skip test Bug-AGL: SPEC-2447 Change-Id: I3aea18b71b176473a0752400387eccc91dfe3f7a Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-20Change appcontroller to ctl-utilities in config.cmakeJan-Simon Möller1-1/+1
Bug-AGL: SPEC-2379 Bug-AGL: SPEC-2423 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I3a227f4963a117e11bb982ded3a0caf114fb1a54
2019-05-13Remove version variable in .spec to fix packagingFrederic Marec1-10/+10
Bug-AGL: SPEC-2364 Change-Id: I16a771caa32c8dae4ecda661fc89d0bdaec70136 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-05-07Fix .spec packaging following review 21140Frederic Marec1-13/+13
Bug-AGL: SPEC-2364 Change-Id: I588967aeb18c3b0dca753d7563e32bcc42774341 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-04-30Change install repository of .rpm packageFrederic Marec1-3/+0
Change install repository of .rpm package Avoid missing library error due to wrong path when you run tests Removal of lines of code that move the library To match with deb package instalation Bug-AGL: SPEC-2364 Change-Id: I184cebceda31a66eb0d93799196cee4d5049b23c Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-04-17docs/1_Write_the_tests: fix broken linksClément Bénier1-1/+1
Change-Id: Ibbeb0644191e14ee090f10e587d9f7797bfa3d25 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-04-16documentation: fix broken links in siteClément Bénier3-3/+3
- move to relative links Change-Id: Ie7ab2fd3423e4f19abe32484cb0834b9560b76f6 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-04-12AGL Test Framework writing tests: Fix tree and re-writeScott Rifenbark1-59/+63
Fixes SPEC-2314 I changed the file prefix to "afg-agl" from "afg" for the file "aft-agl-middlename.json". Allows the configuration file to be found. I also cleaned up the English in the section for grammar and readability. Change-Id: Ie2a5ff1d17928385dae885d5f3fb1b962de2283b Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
2019-04-11Packaging: Add jq runtime dependencyRomain Forlot2-0/+2
Add jq runtime dependency needed by the afm-test launcher Change-Id: I23ba5282703080ca3a97dbcf61c4c2b80cfbdcac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-11Packaging: Fix no *dsc files foundRomain Forlot1-1/+1
Depending on the OSC utility version the build doesn't occur the same way nor put the files in the same places. This solves that by not assuming that the *dsc file is in the parent directory but somewhere in the parent directory. Change-Id: Id72acd3842256f2b00966b34ab136df849bd9683 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-10docs: widget: Correct build option name'sPierre MARZIN1-1/+1
Change-Id: I3ba67e52ebf58fd676278912bf88c0c0b6e9d2e1 Signed-off-by: Pierre MARZIN <pierre.marzin@iot.bzh>
2019-04-10docs: Correct some linksPierre MARZIN3-3/+3
Change-Id: I8d9f7912c0f0995ca339a9625474a9210ac4d9bd Signed-off-by: Pierre MARZIN <pierre.marzin@iot.bzh>
2019-04-08Change sourcing following review 20926Frederic Marec1-1/+1
Change-Id: I870bd467fef148458f5b2b7ceb01f9b30c84f268 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-04-04Change install repository of .deb packageFrederic Marec2-3/+2
Change install repository o .deb package to be the same .rpm Avoid missing library error due to wrong path Change-Id: I78d80f9413269e6508999dbc162b189aea2c903b Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-03-01autobuild: fix warnings due to cp command exit codeRaquel Medina2-4/+12
Change-Id: I9c053683f2458615ab122c642b0e4b282a1ee04f Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-02-01Fix for Debian packages on dependencies nameshalibut_7.90.0halibut/7.90.07.90.0Romain Forlot2-4/+4
Change-Id: I86f8fd1de855c289d2d3eb9de38e44c7165b4573 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-01-31Update packaging files for the new dependenciesRomain Forlot3-0/+6
Following the migration, packaging rules need to be updated with new dependencies on the libraries appcontroller and afb-helpers. Change-Id: I0f9454953659af1280fbf5edecf7fcdd00b4dd5f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-01-24Add a debug option for the native test launcherRomain Forlot1-0/+9
This flags set the shell script debugging on and output every line it executes. Change-Id: Iabf3a7f2ec2b72a271422367e7d820270987b56c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-01-24Handle event in core bindingRomain Forlot2-84/+89
Prefers to handle the events reception by the binding, in C, rather than using the LUA interpreter to avoid race condition on the LUA context. Because we are waiting events in LUA context using binder call sync, when the event is received then 2 threads operate simultaneously on LUA context, the waiting event thread and the receiving event thread. Bug-AGL: SPEC-2135 Change-Id: Ied0a78a61263b8fd41305969c636a491c6bb0295 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-01-24Git submodules migration to separated librariesRomain Forlot6-19/+5
Migrate submodule to use the afb-helpers and controller libraries. Find them as packages not only link against them like before. - Remove the submodules - Remote the target link on target - Add dependencies to afb-helpers and appcontroller packages. Bug-AGL: SPEC-2139 Change-Id: I79da3a84bc1ee020924bb51f0eaed85a99ba7288 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-22docs: add yaml bookguppy_6.99.4guppy/6.99.46.99.4Sebastien Douheret1-0/+46
Change-Id: I2717aceeb55bc2a1ddae95a8cc4d1bb01f48f142 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-12-17Cleaning redundant link option specifiedguppy_6.99.3guppy/6.99.36.99.3Romain Forlot1-1/+0
This link is already specified "aft" target and should not be at a project level. Change-Id: I24fa930a92d450e9f488894863cccf2a01e5cbdd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-11little memleak fix.Romain Forlot1-1/+4
Change-Id: I9288ef2f2f9d37de993164dd454fc75b69f44abf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-11Handle more argument's type when making a subcallRomain Forlot1-1/+5
Calling an api's verb may require to use other things than a JSON object, so this add the possibility to use the other JSON types: string, number or boolean. Change-Id: If95aa35241ea3b11e88e82e7dbdd3e462b4f9eff Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-11Clean way to wait for an api's eventRomain Forlot3-57/+122
Modify the way to wait for an event. Here we call synchronously a verb of the test api that will end when a timeout expires or when the reception of the event ends the request Useless set up of verbosity to debug for the monitoring API. "push_after" messages could be caught without setting up this. Bug-AGL: SPEC-2003 Depends-On: https://gerrit.automotivelinux.org/gerrit/#/c/18583/ Change-Id: I24af6bae6a9aa0f70f3b78304134a65e09f12a58 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-12-07Limit the monitoring to events not to the requestsRomain Forlot1-2/+2
Improve the accuracy of the monitoring trace filtering, spying the requests isn't needed anymore. Change-Id: I0177346c27914df99027cb0324e20ee43e702e8d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-30Add new assert verbguppy_6.99.2guppy/6.99.26.99.2Frederic Marec1-1/+1
Add assertIsTrue verb who allow table and string argument Bug-AGL: SPEC-1983 Change-Id: I8a13b7cdd8d4b841c37e732ffa225b4b9822fad8 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-30Bump app-controller-submoduleFrederic Marec2-0/+2
Bump app-controller-submodule Fix ctrlConfig following app-controller-submodule modification Change-Id: Ifd93d20bbff336420f478229f640d8304b502fc4 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-30Move autobuild to top treeFrederic Marec2-26/+42
Bug-AGL: SPEC-495 Change-Id: I584b5fb287bef3bb6a466000d5c8aeb167fb7690 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-21Change exit message depending on exit reasonguppy_6.99.1guppy/6.99.16.99.1Romain Forlot1-1/+6
Clarify the exit message in case of binder timeout since the default timeout is 3 seconds, it may not be sufficient. As the timeout command, return exit 124 in case of timeout and 128+9 when killed (signal 9). Change-Id: Ia6197c65a32b6fe547fc18115e8c21f572cfcc2b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-08Packaging: Set project version using command-lineRomain Forlot2-2/+3
When packaging, the build environment doesn't clone the git repository but instead use an archive and so we lose the git repository's information. This is a workaround to set the project version using the packaging system. Change-Id: I3e8edc197a12f455f4f1cc24bc452feb146bab6c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-07Change .gitmodules following submodule migrationFrederic Marec1-3/+0
Remove app-template in .gitmodules Change-Id: Ia02965eec8e5a78533316816e8645367499b6467 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-06Improves packaging debian rulesRomain Forlot5-100/+25
Change rules to be more sustainable and maintainable. Remove the patch that isn't needed anymore since the app-templates has been migrated to a cmake module. Fix also wrong descriptions Change-Id: I789b18d8238015bd9e0350ae39136002b10bed51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-31Fix packaging for native buildRonan Le Martret4-4/+3
- *.pc file must have ascii charset - remove gcc dependency for deb package - Fix *.pc file packaging for deb package - set CMAKE_INSTALL_LIBDIR in debian.rules Change-Id: I448aedcdb6fd21d662416ac72148d98da5e05ac3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>