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

ptest + qemu #43

Merged
merged 2 commits into from
May 8, 2024
Merged

ptest + qemu #43

merged 2 commits into from
May 8, 2024

Conversation

vermaete
Copy link
Contributor

@vermaete vermaete commented May 7, 2024

Hi,

First commit is to have the testsuite of OpenDDS inside the test framework of Yocto.
And filter the tests that should not run on the cross compiled target.

Second commit is to have an image with OpenDDS (and ptest) that could run in the QEMU emulation.
Building of it is also documented in the readme file under the kas directory.

Note that some one test is failing under qemu.
tests/DCPS/QueryCondition/run_test.pl rtps_disc dynamic
For now I assume due to my lack of compute power.

br

vermaete added 2 commits May 5, 2024 19:35
All tests are now passing on a Raspberry Pi 4 (32 & 64bit).
Except tests/DCPS/MetaStruct/MetaStructTest what is reported as	#4621.

The tests that should not run on the target are ignored with !CROSS_COMPILE.
These are added to the list of tests with the 0010-WIP-test-filter-tests-that-should-not-run-on-the-tar.patch.
There is no reason (yet) up upstream this.

The Yocto image with the tests can be built with:
  kas build kas/rpi.yaml:kas/ptest.yaml:kas/local.yaml

To run only the opendds tests use:
  ptest-runner opendds

Signed-off-by: Jan Vermaete <[email protected]>
Added the instruction to build the image with OpenDDS for QEMU with kas.

With QEMU it is possible to run the testsuite of OpenDDS without
real hardware target.

This could be used for regression testing.

Note that building the image with the ishapes demo is not possible for QEMU.

Signed-off-by: Jan Vermaete <[email protected]>
@jrw972
Copy link
Contributor

jrw972 commented May 8, 2024

@vermaete Is there anything else on this one or is it ready to merge?

@vermaete
Copy link
Contributor Author

vermaete commented May 8, 2024

@jrw972 For me this is ready to merge.

Next, if I can find time, is moving to cmake and/or get the git version of the bitbake recipe working.

@jrw972 jrw972 merged commit 9b580b2 into OpenDDS:master May 8, 2024
1 check passed
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