Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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
|
|
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>
(cherry picked from commit 5c3503e35c1b883e97ed6874f7683d0a7b5938b7)
|
|
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>
|
|
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>
|
|
Bump luaunit to allow skip test
Bug-AGL: SPEC-2447
Change-Id: I3aea18b71b176473a0752400387eccc91dfe3f7a
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Bug-AGL: SPEC-2379
Bug-AGL: SPEC-2423
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I3a227f4963a117e11bb982ded3a0caf114fb1a54
|
|
Bug-AGL: SPEC-2364
Change-Id: I16a771caa32c8dae4ecda661fc89d0bdaec70136
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Bug-AGL: SPEC-2364
Change-Id: I588967aeb18c3b0dca753d7563e32bcc42774341
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
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>
|
|
Change-Id: Ibbeb0644191e14ee090f10e587d9f7797bfa3d25
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
- move to relative links
Change-Id: Ie7ab2fd3423e4f19abe32484cb0834b9560b76f6
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
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>
|
|
Add jq runtime dependency needed by the afm-test launcher
Change-Id: I23ba5282703080ca3a97dbcf61c4c2b80cfbdcac
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Change-Id: I3ba67e52ebf58fd676278912bf88c0c0b6e9d2e1
Signed-off-by: Pierre MARZIN <pierre.marzin@iot.bzh>
|
|
Change-Id: I8d9f7912c0f0995ca339a9625474a9210ac4d9bd
Signed-off-by: Pierre MARZIN <pierre.marzin@iot.bzh>
|
|
Change-Id: I870bd467fef148458f5b2b7ceb01f9b30c84f268
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
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>
|
|
Change-Id: I9c053683f2458615ab122c642b0e4b282a1ee04f
Bug-AGL: SPEC-2164
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Change-Id: I86f8fd1de855c289d2d3eb9de38e44c7165b4573
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I2717aceeb55bc2a1ddae95a8cc4d1bb01f48f142
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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>
|
|
Change-Id: I9288ef2f2f9d37de993164dd454fc75b69f44abf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Bump app-controller-submodule
Fix ctrlConfig following app-controller-submodule modification
Change-Id: Ifd93d20bbff336420f478229f640d8304b502fc4
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Bug-AGL: SPEC-495
Change-Id: I584b5fb287bef3bb6a466000d5c8aeb167fb7690
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
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>
|
|
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>
|
|
Remove app-template in .gitmodules
Change-Id: Ia02965eec8e5a78533316816e8645367499b6467
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
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>
|
|
- *.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>
|
|
Docs reorganization and update using the latest afb-test improvments and
try to make it clearer.
Change-Id: If022cdb46364ef250361bdcd420d45b360f10a2e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL SPEC-1682
Change-Id: Icf7eb9765483e1cf1c74a9d64cdb0178f773936d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This ensure that the project build under debian like distro and
also rpm based distributions.
Change-Id: I1c0b49163253f5c9ad06a2cdbc6c7b1b8b739f84
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Files used by an OBS server to be able to build deb and rpm packages. The
afb-test binding could be then used in a native environment.
Change-Id: Ifd5ab363c90269bed949ff63315d228017de7d05
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I4111042fe0bb1084c9dcd1b978fa96163bd40f9c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Fix wrong test case markers order... Result has to be after the test case ending.
Change-Id: Iebd604a5d25ef5e12aae7c6be7aaff4daad3d0b9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
The launch scripts now allow you to select a verb from the test api
to only launch that verb instead of all.
Also using the verb's argument {'lavaOutput':true}, the test framework
adds specific Lava markers.
Reformat the script to accept options instead of only positionnal arguments
Change-Id: I181407ebb192eb67e06d2ed95ee239d6f1a523f3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Submodule app-controller-submodule d6eb01e..ce07538:
> Abort if one required API is missing
> Correct an error when no plugins are defined
> Decrease print level when no onload action
> Add a 'params' fields for controller plugins
> Call wasn't done correctly in 'CtlConfigExec'
> Add ctlPlugins array to the ctlConfig structure
> Add an Init step to the plugins load
Submodule conf.d/app-templates 52ae181..e7fd1da:
> Select the test set to run
> Always use wgt when talking about widget
> Minor fixes
> Improved test widget launcher script
> Set default link flags to the target property
> Use a custom test-config.xml file for test widget
> cmake: coverage: disable compiler optimization for COVERAGE build
> Adding warning message to migrate on CMake module
> common.cmake: fixed erroneous search path for os-release
> Fix: missing gcov symbol in compiled binaries
> app-templates doc: Changed doc to fit new format.
> Update Docs
Change-Id: I7b21414e465a8377c031cfd54f6170051d4312de
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Submodule conf.d/app-templates 0f25ab2..:
Change-Id: Ief3ca4ba2e7a4ccf5a3d730a0f1656454e2853df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
You must not specify the _AFT.exitAtEnd in your LUA files if you want
to be able to chain test verb calls. Else it will exit during the file which
has specified the exitAtEnd call.
Change-Id: I3e7f4c6efadcbada426176f51bd709413f1c7405
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This will launch every verbs defined in the test configuration file
instead of only the hardcoded launch_all_tests verbs
Change-Id: Ibc890660cd2209516195ad0f3cf2069e2612b0d4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Copy/paste error...
Change-Id: Iac3a96fed518171cd5a6963145296429368782fa
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Clean the base afb-test binding's dependencies on external
apis. This will be needed to run it as a stand-alone service in the future.
Change-Id: Ia708c4bfd6c674279b62df2c8fc38464567f23e8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|