Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding kas and ptest #42

Merged
merged 5 commits into from
Apr 22, 2024
Merged

adding kas and ptest #42

merged 5 commits into from
Apr 22, 2024

Conversation

vermaete
Copy link
Contributor

Hi,

A set of commits. Could you review please.

  1. a small update of the README.md file for the latest release.
  2. Adding the Yocto ptest to the recipe. With this it is possible to run the unit tests of OpenDDS into the framework of Yocto.
  3. Adding my kas files to build and test the releases on Raspberry Pi 4 (ishapes & ptest.
    Kas is an easy and open source tool to make a Yocto image.
    Having them in the meta layer is rather common (e.g. meta-raspberrypi) and can later be used in the GitHub Actions.
    I will take a look later to have them or QEMU too.
    If this would work well for you, Kas could later be added into the OpenDDS documentation to replace or extend the Cross Compilation section.
  4. I added for now the patch to solve the OpenSSL issue with the current version of Yocto. The security tests went from failing to passing.

The latest Long Term Support release of Yocto is Scathgap (5.0).
Supported until April 2028.
The Kirkstone release (4.0) is still supported until April 2026.
Both LTS releases are supported in this meta layer.
But only the latest LTS in the README file should be mentioned.

And update the current version number of OpenDDS in the README.md file

Signed-off-by: Jan Vermaete <[email protected]>
Can be used to run the ishapes demo.
And to run the Yocto ptests for OpenDDS

* see kas/README.md for more info about how to install and use Kas.
* See https://docs.yoctoproject.org/singleindex.html#testing-packages-with-ptest for more info about ptest of Yocto.

Signed-off-by: Jan Vermaete <[email protected]>
Ptest is the layer of Yocto above the unit tests of the recipes.
Ptest of OpenDDS will run the 'auto_run_tests.pl' script on the target.

Not all tests are passing yet.

To create an image with the ptests for Yocto:
    DISTRO_FEATURES:append = " ptest"
    EXTRA_IMAGE_FEATURES += "ptest-pkgs"
    IMAGE_INSTALL:append = " opendds-dev"

Signed-off-by: Jan Vermaete <[email protected]>
@vermaete vermaete marked this pull request as draft April 22, 2024 16:52
… 3.28.0

Could be removed in the next release of OpenDDS.

This patch do make the ptests about security passing.

Signed-off-by: Jan Vermaete <[email protected]>
@vermaete vermaete force-pushed the master branch 2 times, most recently from 03d744f to 79839dc Compare April 22, 2024 17:57
The layers meta-networking, meta-python and meta-perl are needed to run
the yocto-check-layer now ptest is added.

Signed-off-by: Jan Vermaete <[email protected]>
@vermaete vermaete marked this pull request as ready for review April 22, 2024 18:21
@vermaete
Copy link
Contributor Author

@jrw972 My last commit is to fix the yocto-check-layer. A few more Yocto layers were needed because ptest was added.

@jrw972 jrw972 merged commit 906eda7 into OpenDDS:master Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants