Since v1:
 -fixed Copyright year (Mike, Bill)
 -test execution order changed to have first API tests, then DRV tests
  in linux-generic/Makefile.am (Christophe)

This patch series first introduces a set a small fixes on the driver
interface and then defines the first test for atomic operations performed
on this interface.
It is worth noting than the driver interface tests use both the API
and DRV interfaces: This it due to the fact that a driver only exists
if an application is defined: things like odp_init_global(),
odp_init_local()... have to be called from the application side.
As the driver tests have to simulate both the application and the
driver side, it is natural that these tests have to access both interfaces.
The atomic tests make also use of the API shmem allocator, as such an
allocator does not exits yet on the DRV side.
Will propably be changed in the future...

Christophe Milard (5):
  linux-generic: make drv interface part of the distribution
  linux-generic: drv: fix align.h for new arch structure
  linux-generic: drv: fixed macro typo
  test: validation: drv: adding the new drv interface
  test: validation: drv: atomic tests

 platform/linux-generic/Makefile.am                 |   3 +-
 platform/linux-generic/include/odp/drv/align.h     |  10 +-
 platform/linux-generic/include/odp/drv/byteorder.h |  28 +-
 test/common_plat/m4/configure.m4                   |   6 +-
 test/common_plat/validation/Makefile.am            |   3 +-
 test/common_plat/validation/Makefile.inc           |  16 +
 test/common_plat/validation/api/Makefile.inc       |  17 +-
 test/common_plat/validation/drv/.gitignore         |   2 +
 test/common_plat/validation/drv/Makefile.am        |   6 +
 test/common_plat/validation/drv/Makefile.inc       |   1 +
 test/common_plat/validation/drv/README             |  35 +
 test/common_plat/validation/drv/atomic/.gitignore  |   1 +
 test/common_plat/validation/drv/atomic/Makefile.am |  10 +
 test/common_plat/validation/drv/atomic/atomic.c    | 892 +++++++++++++++++++++
 test/common_plat/validation/drv/atomic/atomic.h    |  38 +
 .../validation/drv/atomic/atomic_main.c            |  12 +
 test/linux-generic/Makefile.am                     |   2 +
 17 files changed, 1042 insertions(+), 40 deletions(-)
 create mode 100644 test/common_plat/validation/Makefile.inc
 create mode 100644 test/common_plat/validation/drv/.gitignore
 create mode 100644 test/common_plat/validation/drv/Makefile.am
 create mode 100644 test/common_plat/validation/drv/Makefile.inc
 create mode 100644 test/common_plat/validation/drv/README
 create mode 100644 test/common_plat/validation/drv/atomic/.gitignore
 create mode 100644 test/common_plat/validation/drv/atomic/Makefile.am
 create mode 100644 test/common_plat/validation/drv/atomic/atomic.c
 create mode 100644 test/common_plat/validation/drv/atomic/atomic.h
 create mode 100644 test/common_plat/validation/drv/atomic/atomic_main.c

-- 
2.7.4

Reply via email to