Age | Commit message (Collapse) | Author | Files | Lines |
|
At some point the synchronous running of the test verbs seems to have
stopped working, and it's going to take further digging into
afb-client-demo, afb-test, and maybe app-framework-binder to work out
what current expected behavior should be and what, if any, fix is
required.
For now, remove the explicit kill of the test binding that is being
done by the launcher script, so that the wait loop in afm-test will
let all of the tests run. There is also a "afm-util kill" call in
afm-test, but its wait loop may need the addition of a timeout option
to improve robustness with respect to tests potentially hanging.
Some unused variables and FIFOs from an older wait scheme based on
test output have also been removed from the launcher script to avoid
confusion.
Bug-AGL: SPEC-3466
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8f9fcd7dfef2c983a9d46a2f190432c07cdd5db3
|
|
Update autobuild.in files with reworked version with the following
changes:
- Fixes for building outside of the source tree by over-riding
BUILD_DIR* (done by use of new ROOT_DIR variable).
- Rules simplified by use of static pattern rules and target specific
variables.
- package-test rule no longer builds the full widget, only the test
widget. This is a behavior change, but seems more in line with
developer expectations and avoids wasting time during builds from
AGL.
- package-{coverage,debug}-test rules removed for lack of utility.
- Variable usage switched to parentheses instead of braces to match
typical usage in Makefiles in other FOSS projects.
The autobuild documentation has also been updated to include the
previously added targets and BUILD_DIR* variables, and the description
of package-test has been updated for the behavior change mentioned
above.
Bug-AGL: SPEC-2049, SPEC-3300
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ifaf0d59b9ee26bde6d27b8968e68f5dc84df548c
|
|
Fix the generated install target to use the permissions of the source
files to keep the executable permission on libraries and executables,
and to add installation of the test widget, which was missing.
Bug-AGL: SPEC-3381
Change-Id: Ia32cf6472e4576042721ab933531eec8eb7ff316
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
This reverts commit cab6a70b1f394099966ac60007830219ee631b9a.
Change-Id: I9f7799dd2441b0153b03ced907dd3bdb82952b34
|
|
- install package test
- use source permissions (exec flags kept)
Change-Id: Ie66e4f84e30c7917b06a32ed6afc966ad8be2a75
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
This change create separate target for creation
separate directories. This fix an obscure error
reported by CMAKE:
"Deleting primary custom command output ..."
This error appered since recent changes related to
SPEC-2049.
Bug-AGL: SPEC-3207
Bug-AGL: SPEC-2049
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Change-Id: Ie531fd203cd054a24e9f5374727bc403341d832d
|
|
Change targets in autobuild scripts
to dispatch builds in differents build directory
Avoid remove of Makefile and CMakeCache from each target
Bug-AGL: SPEC-2049
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I08033b3409e308799010c5925be0ae1b455500ed
|
|
Add SANITIZERS build type for using AddressSanitizers to find
various memory corruptions within applications.
Bug-AGL: SPEC-3040
Change-Id: If430177cbac452c09d710a885cbe802419f13e6b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
This lets to build all widget type once for all.
Bug-AGL: SPEC-2049
Change-Id: I6640cf2a6e45f3cbbc3983ff7aca0abe6303f8f7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-3102
Change-Id: I959230282e22824f0bd3eb335f4511645a33f3bb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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: I54dc7a7156e51ff0ea58f8d534f37092c3f19bc2
|
|
Bug-AGL: SPEC-2405
Change-Id: Id149d3e648e8cb81ab7b03743bf73a652937b9f9
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
New version of CMake use that variable as string and not boolean.
Use of it only needs to set it to something to let pkg-config search
its packages in CMAKE_PREFIX_PATH, CMAKE_FRAMEWORK_PATH, and CMAKE_APPBUNDLE_PATH
Bugs-AGL: SPEC-2929
Change-Id: I085aa04fa53bfa2ce69387b6a1547c74047c7e57
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Use intermediate list of variables to handle dependencies
of custom targets.
This change also prepares further integration of signature of
widgets.
Bug-AGL: SPEC-2840
Change-Id: Iacaa6fb235d91b79ee67bc0b24494de2878590f2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Having a message written in red for warnings is
confusing when searching for an error in red.
Bug-AGL: SPEC-2843
Change-Id: Ic501b37a785acb60e6d3dfc83b0500a85b100dec
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This reverts commit b4828cad913e6218afc2647b80464aff3c7ed170.
Revert looks good because the issue has to be adressed by
the build environment.
Bug-AGL: SPEC-2801
Change-Id: I8b469ce1c42e3d1fbf00128ddfd365cfff3a1f7c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
It is intended to enhance reproducibility
of produced binaries as unmeaning prefixes
are removed.
Bug-AGL: SPEC-2801
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Change-Id: Idcebe383d938a85c594482abd3ef65015fdd4b22
|
|
Bug-AGL: SPEC-2805
Change-Id: I3aad4168c199e2936bdfeedc40f85533eb20f069
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
autobuild clean will remove all the prodcuts defined in Makefile,
including autobuild script itself(not inside build folder).
Bug-AGL: SPEC-2714
Change-Id: I2d0d47f74a76524dc6335d9a9d027ae793bacda9
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
Bug-AGL: SPEC-2714
Change-Id: I92792739faf83080916db339c428c81e25061e7c
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
Add condition in cmake command to avoid complilation error
Make test-tree target optional
Bug-AGL: SPEC-2040
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I885011afda06aaddf226932c3c4bbd9bf78d67a2
|
|
Add test tree template
Add test path variable
Add test-tree target
Bug-AGL: SPEC-2040
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I836d6e7653b600e92c7a0de065a41054ea06005e
|
|
Fix wrong variable tested setting the PROJECT_HOMEPAGE_URL
Bug-AGL: SPEC-2549
Change-Id: I53448d4ddd4c6b148997e140c0f421ddd6dfe182
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Recurse path when using fallback zip tool instead of the
application framework widget creator tool wgtpkg-pack.
Bug-AGL: SPEC-2577
Change-Id: I2bf044fd921ab2debe7fcd6ed12446bffcb99941
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Changed the topic title in the navigation pane from
"Configuring CMake" to "Configuring AGL CMake Templates"
since the topic is more about configuring AGL-specific
CMake templates and not CMake in general.
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Change-Id: Ibca59957cd967bca0b8d0570c8774fb9e1903110
|
|
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Change-Id: I28d9cdf7ed173d71e19d37ae200652b2e83af240
|
|
Amended to change the title to "Configuring AGL CMake
Templates" based on review comments.
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Change-Id: I809e83b51829852d4cd2d76494489b5e2d6b89ef
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
I put in a linkable topic list and made sure the topic
titles matched what is in the book.yml file.
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Change-Id: I32893f8380ec1927513dd44bd8f1e0247a0c39bd
|
|
I made some string changes from "CMAKE" to "CMake"
for consistency. Also, set the version from "guppy" to
"master".
Change-Id: I3ee142a4ec541e8776c5a31c396e1435ac4b5dea
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
cmake variable VERSION_GREATER_EQUAL are available in cmake 3.7
opensuse 42.3 and ubuntu 16.04 use cmake 3.6
we need to use VERSION_GREATER variable for compatibility
BUG-AGL: SPEC-2464
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I581713980c38a3cadcfebe10d2a9ba90b826fe34
|
|
both HOMEPAGE_URL and DESCRIPTION are only available in 3.12.4
BUG-AGL: SPEC-2464
Change-Id: I2fcf30c3f59464bb16e362f43ae032a7160638ac
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
- add warnings when PROJECT_DESCRIPTION and HOMEPAGE_URL are unset
BUG-AGL: SPEC-2464
Change-Id: I24bd6e2428a1c4a89561740a4fc4a55bb14a3a2a
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Set all options in the cmake-commands named project.
Add HOMEPAGE_URL and DESCRIPTION options.
BUG-AGL: SPEC-2464
Change-Id: I55c6ba7136df80f0f5679be2e9cbd0410afd3630
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Bug-AGL: SPEC-2404
Change-Id: I981ebec1e7c36c282e5d3bf327bb5faedd46e877
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
Change-Id: I97c3a450401b87b8419ff00615588c261e6afc25
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
(cherry picked from commit 7061edf1849de1bb1730df92d23aa52a6793a609)
|
|
Change-Id: Ic4883cead2c8fe19fbe3ec3ae5a6db005786561d
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
Completely re-wrote the section. New file names that do
not use the numbers also.
Change-Id: I443feb41cf83d760a57179473439e89e7b71f9c5
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
Created some new file names based on some re-writing.
Also, updated the devguides-book.yml file to reflect the
state of things.
Change-Id: I6a9a91fe9c2f271493404ab7d63b6d6a8faf586e
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
Change-Id: Ie4bae20e33e05b5b166bec3fc4fadcce72ce09d3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-1988
Change-Id: I1b0b2d4f0bef6bb14c17303200641578b8bd5687
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
If you have specified in your project to link against
a project internal library then the cmake templates should
take care to avoid to link a target against itself.
Bug-AGL: SPEC-1997
Change-Id: I6959247ab350474533fb8df1c1e912aa203f36b5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Links are probably expected when it exists.
Change-Id: I9df5776e2e74b3d669da61ea8d978f1fc80df34b
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
For some reasons Suse don't use the same doc directory and add a
subdirectory package to the default path so rpmbuild expects files
in /usr/share/doc/packages instead of /usr/share/doc...
Change-Id: I927b81bb99294dde53eab4957daedc2f3d0d3ae8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Point to SDK sysroot files first instead of native installation directories.
Bug-AGL: SPEC-1958
Change-Id: I54f4e3dac9951289b245911f82767dbe4c2dd30f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Separate the samples files to be installed in the system doc dir which is:
- /usr/share/doc
Updating the documentation according to the new path to samples.
Change-Id: Ib1958fb87d517ad84abddf3ec71102f7ecf877f5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Link with defined project libraries dependencies by default.
This will avoid the user to have to specify this again at target level,
in addition of project level in the "config.cmake" file.
Bug-AGL: SPEC-1997
Change-Id: Ib0933a8eb9259d27c095d18a0dbb5a269d6b0369
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Make clearer the difference between build environments Yocto,
cross compile with an AGL SDK and native.
Change-Id: Id09782c8648026420fbfdbbbcf0fd1891edb7b86
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This reverts commit 60b0f4556fb94cbd6d9bac083f561067a437d98e.
Change-Id: Id73104aa7466e6a16ec6a93842718017a2084584
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Id252624a59fffe789b93e978ef60eec2fc659055
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
At your own risks of course
Change-Id: I1b613b9801a8b031f42321367148ae469f337af2
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|