This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Extend meta-ivi-test with a test that generates CAPI code during build #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I checked capicxx-perf is working. could you move all test binary from /usr/bin to /opt/test/... like below? EXTRA_OECMAKE += "-DCMAKE_INSTALL_PREFIX=/usr" FILES_${PN} = " FILES_${PN}-dbg += " do_install_append() { |
These recipes fetch pre-built code generator binaries from Common API C++ update site and make them available in sysroot. The only pre-requisite for the build host is that it has Java Run-time Environment (JRE) installed. Signed-off-by: Pavel Konopelko <pkonopel@visteon.com>
The test includes capicxx-server and capicxx-client applications that use Common API C++ to connect via D-Bus. The client invokes a method on the server, waits for the server to respond and repeats this sequence multiple times. The code generation is performed automatically as a build step and depends on capicxx-{core|dbus}-native recipes. The following transcript illustrates the usage: root@qemux86-64:~# dbus-run-session -- sh root@qemux86-64:~# capicxx-server & root@qemux86-64:~# Started capicxx-server capicxx-server heartbeat 1200s... root@qemux86-64:~# capicxx-client Started capicxx-client starting test... test completed message payload [bytes]: 0 sync messages sent: 10000 messages per [s]: 344.59 exiting capicxx-client root@qemux86-64:~# Signed-off-by: Pavel Konopelko <pkonopel@visteon.com>
Signed-off-by: Pavel Konopelko <pkonopel@visteon.com>
pkonopel
force-pushed
the
add-capicxx-perf
branch
from
June 17, 2016 15:59
3c833bd
to
1a3dbe9
Compare
OK, the PR is updated as requested and rebased on the current master (40f4544). |
gunnarx
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 30, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
sashko
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 30, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
gunnarx
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 30, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
sashko
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 30, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
sashko
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 30, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
sashko
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 30, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
sashko
pushed a commit
to sashko/meta-ivi
that referenced
this pull request
Oct 31, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request GENIVI#5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request GENIVI#2 from GordanM/topic/deprecated d9235fa Merge pull request GENIVI#1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request GENIVI#3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
gunnarx
pushed a commit
that referenced
this pull request
Oct 31, 2018
Comparing persistence_common_object tag 1.0.3 to this one (1.1.0), there have been a few more changes introduced. The recipe has however updated its SRCREV to track master during this time, so the shortlog of the PCO changes corresponding to the SRCREV change *in this commit* is: 6e827a9 Fix gdbus-codegen invocation 2ee245d Merge pull request #5 from mdanilov/master 4b6b1ce Reverted: added dbus config file (there was commit to remove it due to conflict with pcl repo) 857df7a Change README to symlink f5b3b67 Fixed build, added missed dbus config file 29ec697 Merge pull request #2 from GordanM/topic/deprecated d9235fa Merge pull request #1 from GordanM/topic/fix-README 98a32c6 README.md: Update README daa21fe Merge pull request #3 from GordanM/topic/remove-dbus-conf 103be9f dbus_config: Remove dbus configuration file fe82962 pers_ipc_dbus: remove deprecated glib init eeac12c Added sqlite backend; use --with-database=sqlite in configure step In any case the component has a new tag, and the recipe name therefore now also changed to PV=1.1.0 Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The last two patches (4f0454f and 3c833bd) can be applied on top of c55c45f independently. The native recipes allow using Common API C++ generators as a part of the tool chain on the build host. They rely on pre-built generators being available through the CAPIC++ update site.
The recipe capicxx-perf builds two executables (client and server) that rely on CAPIC++ with the D-Bus backend. It invokes the code generators during the build and can be used to [smoke-] test both the CAPIC++ runtime and tools for core and D-Bus.
The recipe capicxx-someip-native can be optionally added to support SOME/IP code generator. It is not required by capicxx-perf, though.