[v5,8/25] test: use config.h header

Message ID 1503396009-8350-9-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v5,1/25] configure: move configure header to include dir
Related show

Commit Message

Github ODP bot Aug. 22, 2017, 9:59 a.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 127 (lumag:improve-build)
 ** https://github.com/Linaro/odp/pull/127
 ** Patch: https://github.com/Linaro/odp/pull/127.patch
 ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3
 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89
 **/
 test/common_plat/common/mask_common.c                                  | 2 ++
 test/common_plat/common/odp_cunit_common.c                             | 2 ++
 test/common_plat/performance/odp_bench_packet.c                        | 2 ++
 test/common_plat/performance/odp_crypto.c                              | 2 ++
 test/common_plat/performance/odp_l2fwd.c                               | 2 ++
 test/common_plat/performance/odp_pktio_ordered.c                       | 2 ++
 test/common_plat/performance/odp_pktio_perf.c                          | 3 +++
 test/common_plat/performance/odp_sched_latency.c                       | 2 ++
 test/common_plat/performance/odp_scheduling.c                          | 2 ++
 test/common_plat/validation/api/atomic/atomic.c                        | 2 ++
 test/common_plat/validation/api/atomic/atomic_main.c                   | 2 ++
 test/common_plat/validation/api/barrier/barrier.c                      | 2 ++
 test/common_plat/validation/api/barrier/barrier_main.c                 | 2 ++
 test/common_plat/validation/api/buffer/buffer.c                        | 2 ++
 test/common_plat/validation/api/buffer/buffer_main.c                   | 3 +++
 test/common_plat/validation/api/classification/classification.c        | 2 ++
 test/common_plat/validation/api/classification/classification_main.c   | 2 ++
 .../validation/api/classification/odp_classification_basic.c           | 2 ++
 .../validation/api/classification/odp_classification_common.c          | 2 ++
 .../validation/api/classification/odp_classification_test_pmr.c        | 2 ++
 .../validation/api/classification/odp_classification_tests.c           | 2 ++
 test/common_plat/validation/api/cpumask/cpumask.c                      | 2 ++
 test/common_plat/validation/api/cpumask/cpumask_main.c                 | 3 +++
 test/common_plat/validation/api/crypto/crypto.c                        | 2 ++
 test/common_plat/validation/api/crypto/crypto_main.c                   | 2 ++
 test/common_plat/validation/api/crypto/odp_crypto_test_inp.c           | 2 ++
 test/common_plat/validation/api/errno/errno.c                          | 2 ++
 test/common_plat/validation/api/errno/errno_main.c                     | 2 ++
 test/common_plat/validation/api/hash/hash.c                            | 2 ++
 test/common_plat/validation/api/hash/hash_main.c                       | 2 ++
 test/common_plat/validation/api/init/init.c                            | 2 ++
 test/common_plat/validation/api/init/init_main_abort.c                 | 3 +++
 test/common_plat/validation/api/init/init_main_log.c                   | 3 +++
 test/common_plat/validation/api/init/init_main_ok.c                    | 3 +++
 test/common_plat/validation/api/lock/lock.c                            | 2 ++
 test/common_plat/validation/api/lock/lock_main.c                       | 2 ++
 test/common_plat/validation/api/packet/packet.c                        | 2 ++
 test/common_plat/validation/api/packet/packet_main.c                   | 2 ++
 test/common_plat/validation/api/pktio/parser.c                         | 3 +++
 test/common_plat/validation/api/pktio/pktio.c                          | 3 +++
 test/common_plat/validation/api/pktio/pktio_main.c                     | 2 ++
 test/common_plat/validation/api/pool/pool.c                            | 2 ++
 test/common_plat/validation/api/pool/pool_main.c                       | 2 ++
 test/common_plat/validation/api/queue/queue.c                          | 2 ++
 test/common_plat/validation/api/queue/queue_main.c                     | 2 ++
 test/common_plat/validation/api/random/random.c                        | 2 ++
 test/common_plat/validation/api/random/random_main.c                   | 2 ++
 test/common_plat/validation/api/scheduler/scheduler.c                  | 2 ++
 test/common_plat/validation/api/scheduler/scheduler_main.c             | 2 ++
 test/common_plat/validation/api/shmem/shmem.c                          | 2 ++
 test/common_plat/validation/api/shmem/shmem_main.c                     | 2 ++
 test/common_plat/validation/api/std_clib/std_clib.c                    | 2 ++
 test/common_plat/validation/api/std_clib/std_clib_main.c               | 2 ++
 test/common_plat/validation/api/system/system.c                        | 2 ++
 test/common_plat/validation/api/system/system_main.c                   | 2 ++
 test/common_plat/validation/api/thread/thread.c                        | 2 ++
 test/common_plat/validation/api/thread/thread_main.c                   | 2 ++
 test/common_plat/validation/api/time/time.c                            | 2 ++
 test/common_plat/validation/api/time/time_main.c                       | 2 ++
 test/common_plat/validation/api/timer/timer.c                          | 2 ++
 test/common_plat/validation/api/timer/timer_main.c                     | 2 ++
 test/common_plat/validation/api/traffic_mngr/traffic_mngr.c            | 2 ++
 test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c       | 2 ++
 test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c                       | 2 ++
 test/linux-generic/pktio_ipc/ipc_common.c                              | 2 ++
 test/linux-generic/pktio_ipc/pktio_ipc1.c                              | 2 ++
 test/linux-generic/pktio_ipc/pktio_ipc2.c                              | 2 ++
 test/linux-generic/ring/ring_basic.c                                   | 2 ++
 test/linux-generic/ring/ring_main.c                                    | 2 ++
 test/linux-generic/ring/ring_stress.c                                  | 2 ++
 test/linux-generic/ring/ring_suites.c                                  | 2 ++
 test/linux-generic/validation/api/shmem/shmem_linux.c                  | 2 ++
 test/linux-generic/validation/api/shmem/shmem_odp1.c                   | 2 ++
 test/linux-generic/validation/api/shmem/shmem_odp2.c                   | 2 ++
 74 files changed, 156 insertions(+)

Patch

diff --git a/test/common_plat/common/mask_common.c b/test/common_plat/common/mask_common.c
index b31534c6..5f872f3e 100644
--- a/test/common_plat/common/mask_common.c
+++ b/test/common_plat/common/mask_common.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 
 #include "odp_cunit_common.h"
diff --git a/test/common_plat/common/odp_cunit_common.c b/test/common_plat/common/odp_cunit_common.c
index d3328af6..a83c3026 100644
--- a/test/common_plat/common/odp_cunit_common.c
+++ b/test/common_plat/common/odp_cunit_common.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <string.h>
 #include <odp_api.h>
 #include <odp_cunit_common.h>
diff --git a/test/common_plat/performance/odp_bench_packet.c b/test/common_plat/performance/odp_bench_packet.c
index c4cd6139..327b9b2c 100644
--- a/test/common_plat/performance/odp_bench_packet.c
+++ b/test/common_plat/performance/odp_bench_packet.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/common_plat/performance/odp_crypto.c b/test/common_plat/performance/odp_crypto.c
index c3dd6d38..a65e4449 100644
--- a/test/common_plat/performance/odp_crypto.c
+++ b/test/common_plat/performance/odp_crypto.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif /* _GNU_SOURCE */
diff --git a/test/common_plat/performance/odp_l2fwd.c b/test/common_plat/performance/odp_l2fwd.c
index 25a92cc3..dd69cde4 100644
--- a/test/common_plat/performance/odp_l2fwd.c
+++ b/test/common_plat/performance/odp_l2fwd.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/common_plat/performance/odp_pktio_ordered.c b/test/common_plat/performance/odp_pktio_ordered.c
index 4bb0bef9..b08fa852 100644
--- a/test/common_plat/performance/odp_pktio_ordered.c
+++ b/test/common_plat/performance/odp_pktio_ordered.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/common_plat/performance/odp_pktio_perf.c b/test/common_plat/performance/odp_pktio_perf.c
index 09463081..a170e128 100644
--- a/test/common_plat/performance/odp_pktio_perf.c
+++ b/test/common_plat/performance/odp_pktio_perf.c
@@ -20,6 +20,9 @@ 
  * a single packet rate can be specified on the command line.
  *
  */
+
+#include "config.h"
+
 #include <odp_api.h>
 
 #include <odp/helper/odph_api.h>
diff --git a/test/common_plat/performance/odp_sched_latency.c b/test/common_plat/performance/odp_sched_latency.c
index 026f2f6c..fc286051 100644
--- a/test/common_plat/performance/odp_sched_latency.c
+++ b/test/common_plat/performance/odp_sched_latency.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/common_plat/performance/odp_scheduling.c b/test/common_plat/performance/odp_scheduling.c
index 38e76257..308ed410 100644
--- a/test/common_plat/performance/odp_scheduling.c
+++ b/test/common_plat/performance/odp_scheduling.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/common_plat/validation/api/atomic/atomic.c b/test/common_plat/validation/api/atomic/atomic.c
index db9484bc..5bf2fe87 100644
--- a/test/common_plat/validation/api/atomic/atomic.c
+++ b/test/common_plat/validation/api/atomic/atomic.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	 BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <malloc.h>
 #include <odp_api.h>
 #include <CUnit/Basic.h>
diff --git a/test/common_plat/validation/api/atomic/atomic_main.c b/test/common_plat/validation/api/atomic/atomic_main.c
index db035373..b6028393 100644
--- a/test/common_plat/validation/api/atomic/atomic_main.c
+++ b/test/common_plat/validation/api/atomic/atomic_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "atomic.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/barrier/barrier.c b/test/common_plat/validation/api/barrier/barrier.c
index 79ee82b3..b75d6204 100644
--- a/test/common_plat/validation/api/barrier/barrier.c
+++ b/test/common_plat/validation/api/barrier/barrier.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	 BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <malloc.h>
 #include <odp_api.h>
 #include <CUnit/Basic.h>
diff --git a/test/common_plat/validation/api/barrier/barrier_main.c b/test/common_plat/validation/api/barrier/barrier_main.c
index 064decf6..28df6afa 100644
--- a/test/common_plat/validation/api/barrier/barrier_main.c
+++ b/test/common_plat/validation/api/barrier/barrier_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "barrier.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/buffer/buffer.c b/test/common_plat/validation/api/buffer/buffer.c
index 7c723d4f..bcc09d48 100644
--- a/test/common_plat/validation/api/buffer/buffer.c
+++ b/test/common_plat/validation/api/buffer/buffer.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "buffer.h"
diff --git a/test/common_plat/validation/api/buffer/buffer_main.c b/test/common_plat/validation/api/buffer/buffer_main.c
index 47168f8b..8642560d 100644
--- a/test/common_plat/validation/api/buffer/buffer_main.c
+++ b/test/common_plat/validation/api/buffer/buffer_main.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:	BSD-3-Clause
  */
+
+#include "config.h"
+
 #include "buffer.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/classification/classification.c b/test/common_plat/validation/api/classification/classification.c
index 1032e7f1..a0d290ec 100644
--- a/test/common_plat/validation/api/classification/classification.c
+++ b/test/common_plat/validation/api/classification/classification.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "odp_classification_testsuites.h"
diff --git a/test/common_plat/validation/api/classification/classification_main.c b/test/common_plat/validation/api/classification/classification_main.c
index 8902463c..51909d00 100644
--- a/test/common_plat/validation/api/classification/classification_main.c
+++ b/test/common_plat/validation/api/classification/classification_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "classification.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/classification/odp_classification_basic.c b/test/common_plat/validation/api/classification/odp_classification_basic.c
index 3f4a82ed..c31a7530 100644
--- a/test/common_plat/validation/api/classification/odp_classification_basic.c
+++ b/test/common_plat/validation/api/classification/odp_classification_basic.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_cunit_common.h>
 #include "odp_classification_testsuites.h"
 #include "classification.h"
diff --git a/test/common_plat/validation/api/classification/odp_classification_common.c b/test/common_plat/validation/api/classification/odp_classification_common.c
index de8a9327..e0c0808e 100644
--- a/test/common_plat/validation/api/classification/odp_classification_common.c
+++ b/test/common_plat/validation/api/classification/odp_classification_common.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "odp_classification_testsuites.h"
 #include "classification.h"
 #include <odp_cunit_common.h>
diff --git a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c
index 0acf2cf7..15b76033 100644
--- a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c
+++ b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "odp_classification_testsuites.h"
 #include "classification.h"
 #include <odp_cunit_common.h>
diff --git a/test/common_plat/validation/api/classification/odp_classification_tests.c b/test/common_plat/validation/api/classification/odp_classification_tests.c
index a0f73e39..1b044509 100644
--- a/test/common_plat/validation/api/classification/odp_classification_tests.c
+++ b/test/common_plat/validation/api/classification/odp_classification_tests.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "odp_classification_testsuites.h"
 #include "classification.h"
 #include <odp_cunit_common.h>
diff --git a/test/common_plat/validation/api/cpumask/cpumask.c b/test/common_plat/validation/api/cpumask/cpumask.c
index a0cb559f..e6ac8394 100644
--- a/test/common_plat/validation/api/cpumask/cpumask.c
+++ b/test/common_plat/validation/api/cpumask/cpumask.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 
 #include "odp_cunit_common.h"
diff --git a/test/common_plat/validation/api/cpumask/cpumask_main.c b/test/common_plat/validation/api/cpumask/cpumask_main.c
index 39e3171c..77fdd228 100644
--- a/test/common_plat/validation/api/cpumask/cpumask_main.c
+++ b/test/common_plat/validation/api/cpumask/cpumask_main.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
+
+#include "config.h"
+
 #include "cpumask.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/crypto/crypto.c b/test/common_plat/validation/api/crypto/crypto.c
index 94beb2f1..ea661241 100644
--- a/test/common_plat/validation/api/crypto/crypto.c
+++ b/test/common_plat/validation/api/crypto/crypto.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "odp_crypto_test_inp.h"
diff --git a/test/common_plat/validation/api/crypto/crypto_main.c b/test/common_plat/validation/api/crypto/crypto_main.c
index d8c26fa2..2d5c6c7e 100644
--- a/test/common_plat/validation/api/crypto/crypto_main.c
+++ b/test/common_plat/validation/api/crypto/crypto_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "crypto.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c
index ae600e23..442336d0 100644
--- a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c
+++ b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <CUnit/Basic.h>
 #include <odp_cunit_common.h>
diff --git a/test/common_plat/validation/api/errno/errno.c b/test/common_plat/validation/api/errno/errno.c
index e3b6ced5..929e0f40 100644
--- a/test/common_plat/validation/api/errno/errno.c
+++ b/test/common_plat/validation/api/errno/errno.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "errno.h"
diff --git a/test/common_plat/validation/api/errno/errno_main.c b/test/common_plat/validation/api/errno/errno_main.c
index 0138279e..2f2e3155 100644
--- a/test/common_plat/validation/api/errno/errno_main.c
+++ b/test/common_plat/validation/api/errno/errno_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "errno.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/hash/hash.c b/test/common_plat/validation/api/hash/hash.c
index b353fcec..886df502 100644
--- a/test/common_plat/validation/api/hash/hash.c
+++ b/test/common_plat/validation/api/hash/hash.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "hash.h"
diff --git a/test/common_plat/validation/api/hash/hash_main.c b/test/common_plat/validation/api/hash/hash_main.c
index f9818b7b..089b1f95 100644
--- a/test/common_plat/validation/api/hash/hash_main.c
+++ b/test/common_plat/validation/api/hash/hash_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "hash.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/init/init.c b/test/common_plat/validation/api/init/init.c
index 61055fad..d44ff234 100644
--- a/test/common_plat/validation/api/init/init.c
+++ b/test/common_plat/validation/api/init/init.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <stdarg.h>
 #include <stdlib.h>
 #include <odp_api.h>
diff --git a/test/common_plat/validation/api/init/init_main_abort.c b/test/common_plat/validation/api/init/init_main_abort.c
index 2e0faafb..1b043154 100644
--- a/test/common_plat/validation/api/init/init_main_abort.c
+++ b/test/common_plat/validation/api/init/init_main_abort.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
+
+#include "config.h"
+
 #include "init.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/init/init_main_log.c b/test/common_plat/validation/api/init/init_main_log.c
index 41dd00d7..d5d1ba6d 100644
--- a/test/common_plat/validation/api/init/init_main_log.c
+++ b/test/common_plat/validation/api/init/init_main_log.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
+
+#include "config.h"
+
 #include "init.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/init/init_main_ok.c b/test/common_plat/validation/api/init/init_main_ok.c
index 6053ec18..bb205f6d 100644
--- a/test/common_plat/validation/api/init/init_main_ok.c
+++ b/test/common_plat/validation/api/init/init_main_ok.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
+
+#include "config.h"
+
 #include "init.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/lock/lock.c b/test/common_plat/validation/api/lock/lock.c
index f8a1d8c0..48a659e8 100644
--- a/test/common_plat/validation/api/lock/lock.c
+++ b/test/common_plat/validation/api/lock/lock.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	 BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <malloc.h>
 #include <odp_api.h>
 #include <CUnit/Basic.h>
diff --git a/test/common_plat/validation/api/lock/lock_main.c b/test/common_plat/validation/api/lock/lock_main.c
index 5a30f02b..e182f77a 100644
--- a/test/common_plat/validation/api/lock/lock_main.c
+++ b/test/common_plat/validation/api/lock/lock_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "lock.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/packet/packet.c b/test/common_plat/validation/api/packet/packet.c
index 284aaeb5..28bc12b0 100644
--- a/test/common_plat/validation/api/packet/packet.c
+++ b/test/common_plat/validation/api/packet/packet.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 
 #include <odp_api.h>
diff --git a/test/common_plat/validation/api/packet/packet_main.c b/test/common_plat/validation/api/packet/packet_main.c
index 511bb104..a80e29a2 100644
--- a/test/common_plat/validation/api/packet/packet_main.c
+++ b/test/common_plat/validation/api/packet/packet_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "packet.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/pktio/parser.c b/test/common_plat/validation/api/pktio/parser.c
index ad7101d0..dd293a44 100644
--- a/test/common_plat/validation/api/pktio/parser.c
+++ b/test/common_plat/validation/api/pktio/parser.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
+
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 
diff --git a/test/common_plat/validation/api/pktio/pktio.c b/test/common_plat/validation/api/pktio/pktio.c
index c476a712..6a085729 100644
--- a/test/common_plat/validation/api/pktio/pktio.c
+++ b/test/common_plat/validation/api/pktio/pktio.c
@@ -3,6 +3,9 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
+
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 
diff --git a/test/common_plat/validation/api/pktio/pktio_main.c b/test/common_plat/validation/api/pktio/pktio_main.c
index 2928e1b8..13d2407a 100644
--- a/test/common_plat/validation/api/pktio/pktio_main.c
+++ b/test/common_plat/validation/api/pktio/pktio_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "pktio.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/pool/pool.c b/test/common_plat/validation/api/pool/pool.c
index 8687941f..e633137a 100644
--- a/test/common_plat/validation/api/pool/pool.c
+++ b/test/common_plat/validation/api/pool/pool.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "pool.h"
diff --git a/test/common_plat/validation/api/pool/pool_main.c b/test/common_plat/validation/api/pool/pool_main.c
index bf06585b..c1eb7b7c 100644
--- a/test/common_plat/validation/api/pool/pool_main.c
+++ b/test/common_plat/validation/api/pool/pool_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "pool.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/queue/queue.c b/test/common_plat/validation/api/queue/queue.c
index f08d811f..94d0a2fd 100644
--- a/test/common_plat/validation/api/queue/queue.c
+++ b/test/common_plat/validation/api/queue/queue.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "queue.h"
diff --git a/test/common_plat/validation/api/queue/queue_main.c b/test/common_plat/validation/api/queue/queue_main.c
index b461b860..7ed05411 100644
--- a/test/common_plat/validation/api/queue/queue_main.c
+++ b/test/common_plat/validation/api/queue/queue_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "queue.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/random/random.c b/test/common_plat/validation/api/random/random.c
index a0e2ef72..071c265f 100644
--- a/test/common_plat/validation/api/random/random.c
+++ b/test/common_plat/validation/api/random/random.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "random.h"
diff --git a/test/common_plat/validation/api/random/random_main.c b/test/common_plat/validation/api/random/random_main.c
index 8f38a84c..ca9f5262 100644
--- a/test/common_plat/validation/api/random/random_main.c
+++ b/test/common_plat/validation/api/random/random_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "random.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c
index 4f99435c..963275be 100644
--- a/test/common_plat/validation/api/scheduler/scheduler.c
+++ b/test/common_plat/validation/api/scheduler/scheduler.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "scheduler.h"
diff --git a/test/common_plat/validation/api/scheduler/scheduler_main.c b/test/common_plat/validation/api/scheduler/scheduler_main.c
index 57cfa5fc..73f3cedd 100644
--- a/test/common_plat/validation/api/scheduler/scheduler_main.c
+++ b/test/common_plat/validation/api/scheduler/scheduler_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "scheduler.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/shmem/shmem.c b/test/common_plat/validation/api/shmem/shmem.c
index 0e757a70..08587940 100644
--- a/test/common_plat/validation/api/shmem/shmem.c
+++ b/test/common_plat/validation/api/shmem/shmem.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "shmem.h"
diff --git a/test/common_plat/validation/api/shmem/shmem_main.c b/test/common_plat/validation/api/shmem/shmem_main.c
index 4c691305..d51d4d83 100644
--- a/test/common_plat/validation/api/shmem/shmem_main.c
+++ b/test/common_plat/validation/api/shmem/shmem_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "shmem.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/std_clib/std_clib.c b/test/common_plat/validation/api/std_clib/std_clib.c
index 7f089eab..33128eef 100644
--- a/test/common_plat/validation/api/std_clib/std_clib.c
+++ b/test/common_plat/validation/api/std_clib/std_clib.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "std_clib.h"
diff --git a/test/common_plat/validation/api/std_clib/std_clib_main.c b/test/common_plat/validation/api/std_clib/std_clib_main.c
index ef6f2736..dc63bb5b 100644
--- a/test/common_plat/validation/api/std_clib/std_clib_main.c
+++ b/test/common_plat/validation/api/std_clib/std_clib_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "std_clib.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/system/system.c b/test/common_plat/validation/api/system/system.c
index 5b7ca01a..6873fcc4 100644
--- a/test/common_plat/validation/api/system/system.c
+++ b/test/common_plat/validation/api/system/system.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <odp_api.h>
 #include <odp/api/cpumask.h>
diff --git a/test/common_plat/validation/api/system/system_main.c b/test/common_plat/validation/api/system/system_main.c
index 50d202a8..01720c6a 100644
--- a/test/common_plat/validation/api/system/system_main.c
+++ b/test/common_plat/validation/api/system/system_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "system.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/thread/thread.c b/test/common_plat/validation/api/thread/thread.c
index 24f1c458..ada4affc 100644
--- a/test/common_plat/validation/api/thread/thread.c
+++ b/test/common_plat/validation/api/thread/thread.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include <odp_cunit_common.h>
 #include <mask_common.h>
diff --git a/test/common_plat/validation/api/thread/thread_main.c b/test/common_plat/validation/api/thread/thread_main.c
index 53c75655..2e832836 100644
--- a/test/common_plat/validation/api/thread/thread_main.c
+++ b/test/common_plat/validation/api/thread/thread_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "thread.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/time/time.c b/test/common_plat/validation/api/time/time.c
index e2ca2e17..ef137257 100644
--- a/test/common_plat/validation/api/time/time.c
+++ b/test/common_plat/validation/api/time/time.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "time_test.h"
diff --git a/test/common_plat/validation/api/time/time_main.c b/test/common_plat/validation/api/time/time_main.c
index bf1cfe7b..c39a0ea1 100644
--- a/test/common_plat/validation/api/time/time_main.c
+++ b/test/common_plat/validation/api/time/time_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "time_test.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/timer/timer.c b/test/common_plat/validation/api/timer/timer.c
index b7d84c64..e88f21a7 100644
--- a/test/common_plat/validation/api/timer/timer.c
+++ b/test/common_plat/validation/api/timer/timer.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  */
diff --git a/test/common_plat/validation/api/timer/timer_main.c b/test/common_plat/validation/api/timer/timer_main.c
index c318763f..f65c1e3a 100644
--- a/test/common_plat/validation/api/timer/timer_main.c
+++ b/test/common_plat/validation/api/timer/timer_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "timer.h"
 
 int main(int argc, char *argv[])
diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c
index a21ff8a1..fb7bb461 100644
--- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c
+++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif
diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c
index 1fc1f78d..ec4555e6 100644
--- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c
+++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "traffic_mngr.h"
 
 int main(int argc, char *argv[])
diff --git a/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c b/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c
index e91a9d0d..3238f9af 100644
--- a/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c
+++ b/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <getopt.h>
diff --git a/test/linux-generic/pktio_ipc/ipc_common.c b/test/linux-generic/pktio_ipc/ipc_common.c
index 85cbc8b4..2004c7d2 100644
--- a/test/linux-generic/pktio_ipc/ipc_common.c
+++ b/test/linux-generic/pktio_ipc/ipc_common.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "ipc_common.h"
 
 /** Run time in seconds */
diff --git a/test/linux-generic/pktio_ipc/pktio_ipc1.c b/test/linux-generic/pktio_ipc/pktio_ipc1.c
index 5d8434bf..b1ed21b8 100644
--- a/test/linux-generic/pktio_ipc/pktio_ipc1.c
+++ b/test/linux-generic/pktio_ipc/pktio_ipc1.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "ipc_common.h"
 
 /**
diff --git a/test/linux-generic/pktio_ipc/pktio_ipc2.c b/test/linux-generic/pktio_ipc/pktio_ipc2.c
index 95d69e80..062ed9b7 100644
--- a/test/linux-generic/pktio_ipc/pktio_ipc2.c
+++ b/test/linux-generic/pktio_ipc/pktio_ipc2.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/linux-generic/ring/ring_basic.c b/test/linux-generic/ring/ring_basic.c
index 926dc465..62382bec 100644
--- a/test/linux-generic/ring/ring_basic.c
+++ b/test/linux-generic/ring/ring_basic.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/linux-generic/ring/ring_main.c b/test/linux-generic/ring/ring_main.c
index 71526884..b1f59a9b 100644
--- a/test/linux-generic/ring/ring_main.c
+++ b/test/linux-generic/ring/ring_main.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include "ring_suites.h"
 
 int main(int argc, char *argv[])
diff --git a/test/linux-generic/ring/ring_stress.c b/test/linux-generic/ring/ring_stress.c
index f4f573e6..115d130e 100644
--- a/test/linux-generic/ring/ring_stress.c
+++ b/test/linux-generic/ring/ring_stress.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /**
  * @file
  *
diff --git a/test/linux-generic/ring/ring_suites.c b/test/linux-generic/ring/ring_suites.c
index f321a762..153826ff 100644
--- a/test/linux-generic/ring/ring_suites.c
+++ b/test/linux-generic/ring/ring_suites.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/test/linux-generic/validation/api/shmem/shmem_linux.c b/test/linux-generic/validation/api/shmem/shmem_linux.c
index fe11a7db..10bbb6a4 100644
--- a/test/linux-generic/validation/api/shmem/shmem_linux.c
+++ b/test/linux-generic/validation/api/shmem/shmem_linux.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 /* this test makes sure that odp shared memory created with the ODP_SHM_PROC
  * flag is visible under linux, and checks that memory created with the
  * ODP_SHM_EXPORT flag is visible by other ODP instances.
diff --git a/test/linux-generic/validation/api/shmem/shmem_odp1.c b/test/linux-generic/validation/api/shmem/shmem_odp1.c
index 0ced4554..8cd89c8f 100644
--- a/test/linux-generic/validation/api/shmem/shmem_odp1.c
+++ b/test/linux-generic/validation/api/shmem/shmem_odp1.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp.h>
 #include <linux/limits.h>
 #include <sys/types.h>
diff --git a/test/linux-generic/validation/api/shmem/shmem_odp2.c b/test/linux-generic/validation/api/shmem/shmem_odp2.c
index 0144407b..4f4fc3fe 100644
--- a/test/linux-generic/validation/api/shmem/shmem_odp2.c
+++ b/test/linux-generic/validation/api/shmem/shmem_odp2.c
@@ -4,6 +4,8 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
+#include "config.h"
+
 #include <odp.h>
 #include <linux/limits.h>
 #include <sys/types.h>