[PATCH v2 0/2] tests/tcg/multiarch: Add tests for implemented real

Filip Bozuta posted 2 patches 4 years, 1 month ago
Test docker-quick@centos7 passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1581603905-21565-1-git-send-email-Filip.Bozuta@rt-rk.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>
There is a newer version of this series
.../manual-test/alsa-timer-ioctl-manual-test.c     | 294 +++++++++++++++++
.../alsa-timer-ioctl-tests/remote-test/timer.c     | 158 +++++++++
.../manual-test/rtc-ioctl-manual-test.c            | 352 +++++++++++++++++++++
.../rtc-ioctl-tests/remote-test/rtc-test.c         | 226 +++++++++++++
4 files changed, 1030 insertions(+)
create mode 100644 tests/tcg/multiarch/alsa-timer-ioctl-tests/manual-test/alsa-timer-ioctl-manual-test.c
create mode 100644 tests/tcg/multiarch/alsa-timer-ioctl-tests/remote-test/timer.c
create mode 100644 tests/tcg/multiarch/rtc-ioctl-tests/manual-test/rtc-ioctl-manual-test.c
create mode 100644 tests/tcg/multiarch/rtc-ioctl-tests/remote-test/rtc-test.c
[PATCH v2 0/2] tests/tcg/multiarch: Add tests for implemented real
Posted by Filip Bozuta 4 years, 1 month ago
This series covers tests for implemented rtc and alsa timer ioctls. The names
of ioctls that are covered by these tests can be found in patch descriptions.
The functionalities of each ioctl that is tested can be found in patches that
implement them.

Some of the features that are accessible through these ioctls are not supported
on all test host pc's. These tests were written so that the implemented ioctls
can be properly tested on pc's that support all of their features.

Both rtc and alsa timer test folders have separate files for manually written
and remotely obtained tests. Tests that were obtained remotely run multiple ioctl
tests at once, while the manually written tests can be used to run both individual 
and multiple ioctl tests based on the command specified when running the test.

Filip Bozuta (2):
  tests/tcg/multiarch: Add tests for implemented rtc ioctls
  tests/tcg/multiarch: Add tests for implemented alsa sound timer ioctls

 .../manual-test/alsa-timer-ioctl-manual-test.c     | 294 +++++++++++++++++
 .../alsa-timer-ioctl-tests/remote-test/timer.c     | 158 +++++++++
 .../manual-test/rtc-ioctl-manual-test.c            | 352 +++++++++++++++++++++
 .../rtc-ioctl-tests/remote-test/rtc-test.c         | 226 +++++++++++++
 4 files changed, 1030 insertions(+)
 create mode 100644 tests/tcg/multiarch/alsa-timer-ioctl-tests/manual-test/alsa-timer-ioctl-manual-test.c
 create mode 100644 tests/tcg/multiarch/alsa-timer-ioctl-tests/remote-test/timer.c
 create mode 100644 tests/tcg/multiarch/rtc-ioctl-tests/manual-test/rtc-ioctl-manual-test.c
 create mode 100644 tests/tcg/multiarch/rtc-ioctl-tests/remote-test/rtc-test.c

-- 
2.7.4


Re: [PATCH v2 0/2] tests/tcg/multiarch: Add tests for implemented real
Posted by Alex Bennée 4 years ago
Filip Bozuta <Filip.Bozuta@rt-rk.com> writes:

> This series covers tests for implemented rtc and alsa timer ioctls. The names
> of ioctls that are covered by these tests can be found in patch descriptions.
> The functionalities of each ioctl that is tested can be found in patches that
> implement them.
>
> Some of the features that are accessible through these ioctls are not supported
> on all test host pc's. These tests were written so that the implemented ioctls
> can be properly tested on pc's that support all of their features.
>
> Both rtc and alsa timer test folders have separate files for manually written
> and remotely obtained tests. Tests that were obtained remotely run multiple ioctl
> tests at once, while the manually written tests can be used to run both individual 
> and multiple ioctl tests based on the command specified when running the test.
>
> Filip Bozuta (2):
>   tests/tcg/multiarch: Add tests for implemented rtc ioctls
>   tests/tcg/multiarch: Add tests for implemented alsa sound timer ioctls
>
>  .../manual-test/alsa-timer-ioctl-manual-test.c     | 294 +++++++++++++++++
>  .../alsa-timer-ioctl-tests/remote-test/timer.c     | 158 +++++++++
>  .../manual-test/rtc-ioctl-manual-test.c            | 352 +++++++++++++++++++++
>  .../rtc-ioctl-tests/remote-test/rtc-test.c         | 226
>  +++++++++++++

Because of the placement of the files these tests don't get built and
run when running check-tcg. Please integrate them properly into the
build system.

While we do have some manual only tests they are really only
placeholders until we can figure out how to plumb them in properly. You
can skip them by using a special run-% rule, eg. the semihosting tests:

  run-semiconsole: semiconsole
          $(call skip-test, $<, "MANUAL ONLY")

>  4 files changed, 1030 insertions(+)
>  create mode 100644 tests/tcg/multiarch/alsa-timer-ioctl-tests/manual-test/alsa-timer-ioctl-manual-test.c
>  create mode 100644 tests/tcg/multiarch/alsa-timer-ioctl-tests/remote-test/timer.c
>  create mode 100644 tests/tcg/multiarch/rtc-ioctl-tests/manual-test/rtc-ioctl-manual-test.c
>  create mode 100644 tests/tcg/multiarch/rtc-ioctl-tests/remote-test/rtc-test.c


-- 
Alex Bennée