@@ -7,30 +7,6 @@ AC_CONFIG_FILES([test/Makefile
test/miscellaneous/Makefile
test/performance/Makefile
test/validation/Makefile
- test/validation/api/atomic/Makefile
- test/validation/api/barrier/Makefile
- test/validation/api/buffer/Makefile
- test/validation/api/chksum/Makefile
- test/validation/api/classification/Makefile
- test/validation/api/cpumask/Makefile
- test/validation/api/crypto/Makefile
- test/validation/api/errno/Makefile
- test/validation/api/event/Makefile
- test/validation/api/hash/Makefile
- test/validation/api/init/Makefile
- test/validation/api/ipsec/Makefile
- test/validation/api/lock/Makefile
test/validation/api/Makefile
- test/validation/api/packet/Makefile
test/validation/api/pktio/Makefile
- test/validation/api/pool/Makefile
- test/validation/api/queue/Makefile
- test/validation/api/random/Makefile
- test/validation/api/scheduler/Makefile
- test/validation/api/shmem/Makefile
- test/validation/api/std_clib/Makefile
- test/validation/api/system/Makefile
- test/validation/api/thread/Makefile
- test/validation/api/time/Makefile
- test/validation/api/timer/Makefile
test/validation/api/traffic_mngr/Makefile])
@@ -1,3 +1,32 @@
*.log
*.trs
tests-validation.env
+atomic_main
+barrier_main
+buffer_main
+chksum_main
+classification_main
+cpumask_main
+crypto_main
+errno_main
+event_main
+hash_main
+init_main_abort
+init_main_log
+init_main_ok
+ipsec_async
+ipsec_inline_in
+ipsec_inline_out
+ipsec_sync
+lock_main
+packet_main
+pool_main
+queue_main
+random_main
+scheduler_main
+shmem_main
+std_clib_main
+system_main
+thread_main
+time_main
+timer_main
@@ -1,66 +1,127 @@
-ODP_MODULES = atomic \
- barrier \
- buffer \
- chksum \
- classification \
- cpumask \
- crypto \
- errno \
- event \
- hash \
- init \
- ipsec \
- lock \
- queue \
- packet \
+ODP_MODULES = \
pktio \
- pool \
- random \
- scheduler \
- std_clib \
- thread \
- time \
- timer \
- traffic_mngr \
- shmem \
- system
+ traffic_mngr
SUBDIRS = $(ODP_MODULES)
-include $(top_srcdir)/test/Makefile.inc
+include Makefile.inc
+
+test_PROGRAMS = \
+ atomic_main \
+ barrier_main \
+ buffer_main \
+ chksum_main \
+ classification_main \
+ cpumask_main \
+ crypto_main \
+ errno_main \
+ event_main \
+ hash_main \
+ init_main_abort \
+ init_main_log \
+ init_main_ok \
+ ipsec_async \
+ ipsec_inline_in \
+ ipsec_inline_out \
+ ipsec_sync \
+ lock_main \
+ packet_main \
+ pool_main \
+ queue_main \
+ random_main \
+ scheduler_main \
+ shmem_main \
+ std_clib_main \
+ system_main \
+ thread_main \
+ time_main \
+ timer_main
+
+noinst_LTLIBRARIES = libtestipsec.la
+libtestipsec_la_SOURCES = \
+ ipsec_test_vectors.h \
+ ipsec_test_in.c \
+ ipsec_test_out.c \
+ ipsec.h \
+ ipsec.c
+
+atomic_main_SOURCES = atomic.c
+barrier_main_SOURCES = barrier.c
+buffer_main_SOURCES = buffer.c
+chksum_main_SOURCES = chksum.c
+cpumask_main_SOURCES = cpumask.c
+cpumask_main_LDADD = $(LDADD) $(LIBCPUMASK_COMMON)
+crypto_main_SOURCES = crypto.c crypto_test_vectors.h
+errno_main_SOURCES = errno.c
+event_main_SOURCES = event.c
+hash_main_SOURCES = hash.c
+init_main_abort_SOURCES = init_main_abort.c
+init_main_log_SOURCES = init_main_log.c
+init_main_ok_SOURCES = init_main_ok.c
+ipsec_sync_SOURCES = ipsec_sync.c
+ipsec_sync_LDADD = $(LDADD) libtestipsec.la
+ipsec_async_SOURCES = ipsec_async.c
+ipsec_async_LDADD = $(LDADD) libtestipsec.la
+ipsec_inline_in_SOURCES = ipsec_inline_in.c
+ipsec_inline_in_LDADD = $(LDADD) libtestipsec.la
+ipsec_inline_out_SOURCES = ipsec_inline_out.c
+ipsec_inline_out_LDADD = $(LDADD) libtestipsec.la
+lock_main_SOURCES = lock.c
+packet_main_SOURCES = packet.c
+pool_main_SOURCES = pool.c
+queue_main_SOURCES = queue.c
+random_main_SOURCES = random.c
+scheduler_main_SOURCES = scheduler.c
+shmem_main_SOURCES = shmem.c
+std_clib_main_SOURCES = std_clib.c
+system_main_SOURCES = system.c
+thread_main_SOURCES = thread.c
+thread_main_LDADD = $(LDADD) $(LIBTHRMASK_COMMON)
+time_main_SOURCES = time.c
+timer_main_SOURCES = timer.c
+
+classification_main_SOURCES = \
+ classification_basic.c \
+ classification_tests.c \
+ classification_testsuites.h \
+ classification_test_pmr.c \
+ classification_common.c \
+ classification.c \
+ classification.h
+
TESTS_ENVIRONMENT += TEST_DIR=${top_builddir}/test/validation
TESTS = \
- atomic/atomic_main$(EXEEXT) \
- barrier/barrier_main$(EXEEXT) \
- buffer/buffer_main$(EXEEXT) \
- chksum/chksum_main$(EXEEXT) \
- classification/classification_main$(EXEEXT) \
- cpumask/cpumask_main$(EXEEXT) \
- crypto/crypto_main$(EXEEXT) \
- errno/errno_main$(EXEEXT) \
- event/event_main$(EXEEXT) \
- hash/hash_main$(EXEEXT) \
- init/init_main_ok$(EXEEXT) \
- init/init_main_abort$(EXEEXT) \
- init/init_main_log$(EXEEXT) \
- ipsec/ipsec_sync$(EXEEXT) \
- ipsec/ipsec_async$(EXEEXT) \
- ipsec/ipsec_inline_in$(EXEEXT) \
- ipsec/ipsec_inline_out$(EXEEXT) \
- lock/lock_main$(EXEEXT) \
- packet/packet_main$(EXEEXT) \
- pool/pool_main$(EXEEXT) \
- queue/queue_main$(EXEEXT) \
- random/random_main$(EXEEXT) \
- scheduler/scheduler_main$(EXEEXT) \
- std_clib/std_clib_main$(EXEEXT) \
- thread/thread_main$(EXEEXT) \
- time/time_main$(EXEEXT) \
- timer/timer_main$(EXEEXT) \
- traffic_mngr/traffic_mngr.sh \
- shmem/shmem_main$(EXEEXT) \
- system/system_main$(EXEEXT)
+ atomic_main$(EXEEXT) \
+ barrier_main$(EXEEXT) \
+ buffer_main$(EXEEXT) \
+ chksum_main$(EXEEXT) \
+ classification_main$(EXEEXT) \
+ cpumask_main$(EXEEXT) \
+ crypto_main$(EXEEXT) \
+ errno_main$(EXEEXT) \
+ event_main$(EXEEXT) \
+ hash_main$(EXEEXT) \
+ init_main_ok$(EXEEXT) \
+ init_main_abort$(EXEEXT) \
+ init_main_log$(EXEEXT) \
+ ipsec_sync$(EXEEXT) \
+ ipsec_async$(EXEEXT) \
+ ipsec_inline_in$(EXEEXT) \
+ ipsec_inline_out$(EXEEXT) \
+ lock_main$(EXEEXT) \
+ packet_main$(EXEEXT) \
+ pool_main$(EXEEXT) \
+ queue_main$(EXEEXT) \
+ random_main$(EXEEXT) \
+ scheduler_main$(EXEEXT) \
+ shmem_main$(EXEEXT) \
+ std_clib_main$(EXEEXT) \
+ system_main$(EXEEXT) \
+ thread_main$(EXEEXT) \
+ time_main$(EXEEXT) \
+ timer_main$(EXEEXT) \
+ traffic_mngr/traffic_mngr.sh
TESTNAME = validation
similarity index 100%
rename from test/validation/api/atomic/atomic.c
rename to test/validation/api/atomic.c
deleted file mode 100644
@@ -1 +0,0 @@
-atomic_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = atomic_main
-atomic_main_SOURCES = atomic.c
similarity index 100%
rename from test/validation/api/barrier/barrier.c
rename to test/validation/api/barrier.c
deleted file mode 100644
@@ -1 +0,0 @@
-barrier_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = barrier_main
-barrier_main_SOURCES = barrier.c
similarity index 100%
rename from test/validation/api/buffer/buffer.c
rename to test/validation/api/buffer.c
deleted file mode 100644
@@ -1 +0,0 @@
-buffer_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = buffer_main
-buffer_main_SOURCES = buffer.c
similarity index 100%
rename from test/validation/api/chksum/chksum.c
rename to test/validation/api/chksum.c
deleted file mode 100644
@@ -1 +0,0 @@
-chksum_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = chksum_main
-chksum_main_SOURCES = chksum.c
similarity index 95%
rename from test/validation/api/classification/classification.c
rename to test/validation/api/classification.c
@@ -8,7 +8,7 @@
#include <odp_api.h>
#include <odp_cunit_common.h>
-#include "odp_classification_testsuites.h"
+#include "classification_testsuites.h"
#include "classification.h"
odp_suiteinfo_t classification_suites[] = {
similarity index 100%
rename from test/validation/api/classification/classification.h
rename to test/validation/api/classification.h
deleted file mode 100644
@@ -1 +0,0 @@
-classification_main
deleted file mode 100644
@@ -1,11 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = classification_main
-classification_main_SOURCES = \
- odp_classification_basic.c \
- odp_classification_tests.c \
- odp_classification_testsuites.h \
- odp_classification_test_pmr.c \
- odp_classification_common.c \
- classification.c \
- classification.h
similarity index 99%
rename from test/validation/api/classification/odp_classification_basic.c
rename to test/validation/api/classification_basic.c
@@ -7,7 +7,7 @@
#include "config.h"
#include <odp_cunit_common.h>
-#include "odp_classification_testsuites.h"
+#include "classification_testsuites.h"
#include "classification.h"
#define PMR_SET_NUM 5
similarity index 99%
rename from test/validation/api/classification/odp_classification_common.c
rename to test/validation/api/classification_common.c
@@ -6,7 +6,7 @@
#include "config.h"
-#include "odp_classification_testsuites.h"
+#include "classification_testsuites.h"
#include "classification.h"
#include <odp_cunit_common.h>
#include "test_debug.h"
similarity index 99%
rename from test/validation/api/classification/odp_classification_test_pmr.c
rename to test/validation/api/classification_test_pmr.c
@@ -6,7 +6,7 @@
#include "config.h"
-#include "odp_classification_testsuites.h"
+#include "classification_testsuites.h"
#include "classification.h"
#include <odp_cunit_common.h>
similarity index 99%
rename from test/validation/api/classification/odp_classification_tests.c
rename to test/validation/api/classification_tests.c
@@ -6,7 +6,7 @@
#include "config.h"
-#include "odp_classification_testsuites.h"
+#include "classification_testsuites.h"
#include "classification.h"
#include <odp_cunit_common.h>
similarity index 100%
rename from test/validation/api/classification/odp_classification_testsuites.h
rename to test/validation/api/classification_testsuites.h
similarity index 100%
rename from test/validation/api/cpumask/cpumask.c
rename to test/validation/api/cpumask.c
deleted file mode 100644
@@ -1 +0,0 @@
-cpumask_main
deleted file mode 100644
@@ -1,5 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = cpumask_main
-cpumask_main_SOURCES = cpumask.c
-LDADD += $(LIBCPUMASK_COMMON)
similarity index 99%
rename from test/validation/api/crypto/odp_crypto_test_inp.c
rename to test/validation/api/crypto.c
@@ -9,7 +9,7 @@
#include <odp_api.h>
#include <CUnit/Basic.h>
#include <odp_cunit_common.h>
-#include "test_vectors.h"
+#include "crypto_test_vectors.h"
#define MAX_ALG_CAPA 32
deleted file mode 100644
@@ -1 +0,0 @@
-crypto_main
deleted file mode 100644
@@ -1,7 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = crypto_main
-crypto_main_SOURCES = \
- odp_crypto_test_inp.c \
- test_vectors.h \
- test_vectors_len.h
deleted file mode 100644
@@ -1,77 +0,0 @@
-/* Copyright (c) 2014, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-#ifndef TEST_VECTORS_LEN_
-#define TEST_VECTORS_LEN_
-
-/* Maximum */
-#define MAX_KEY_LEN 64
-#define MAX_IV_LEN 16
-#define MAX_DATA_LEN 128
-#define MAX_AAD_LEN 12
-#define MAX_DIGEST_LEN 64
-
-/* TDES-CBC */
-#define TDES_CBC_KEY_LEN 24
-#define TDES_CBC_IV_LEN 8
-
-/* AES-CBC common */
-#define AES_CBC_IV_LEN 16
-
-/* AES128-CBC */
-#define AES128_CBC_KEY_LEN 16
-
-/* AES192-CBC */
-#define AES192_CBC_KEY_LEN 24
-
-/* AES256-CBC */
-#define AES256_CBC_KEY_LEN 32
-
-/* AES-CBC common */
-#define AES_CTR_IV_LEN 16
-
-/* AES128-CTR */
-#define AES128_CTR_KEY_LEN 16
-
-/* AES192-CTR */
-#define AES192_CTR_KEY_LEN 24
-
-/* AES256-CTR */
-#define AES256_CTR_KEY_LEN 32
-
-/* AES-GCM common */
-#define AES_GCM_IV_LEN 12
-#define AES_GCM_DIGEST_LEN 16
-
-/* AES128-GCM */
-#define AES128_GCM_KEY_LEN 16
-
-/* AES192-GCM */
-#define AES192_GCM_KEY_LEN 24
-
-/* AES256-GCM */
-#define AES256_GCM_KEY_LEN 32
-
-/* HMAC-MD5 */
-#define HMAC_MD5_KEY_LEN 16
-#define HMAC_MD5_96_CHECK_LEN 12
-#define HMAC_MD5_CHECK_LEN 16
-
-/* HMAC-SHA256 */
-#define HMAC_SHA256_KEY_LEN 32
-#define HMAC_SHA256_128_CHECK_LEN 16
-#define HMAC_SHA256_CHECK_LEN 32
-
-/* HMAC-SHA1 */
-#define HMAC_SHA1_KEY_LEN 20
-#define HMAC_SHA1_96_CHECK_LEN 12
-#define HMAC_SHA1_CHECK_LEN 20
-
-/* HMAC-SHA512 */
-#define HMAC_SHA512_KEY_LEN 64
-#define HMAC_SHA512_256_CHECK_LEN 32
-#define HMAC_SHA512_CHECK_LEN 64
-
-#endif
similarity index 96%
rename from test/validation/api/crypto/test_vectors.h
rename to test/validation/api/crypto_test_vectors.h
@@ -7,7 +7,73 @@
#ifndef _ODP_TEST_CRYPTO_VECTORS_H_
#define _ODP_TEST_CRYPTO_VECTORS_H_
-#include "test_vectors_len.h"
+/* Maximum */
+#define MAX_KEY_LEN 64
+#define MAX_IV_LEN 16
+#define MAX_DATA_LEN 128
+#define MAX_AAD_LEN 12
+#define MAX_DIGEST_LEN 64
+
+/* TDES-CBC */
+#define TDES_CBC_KEY_LEN 24
+#define TDES_CBC_IV_LEN 8
+
+/* AES-CBC common */
+#define AES_CBC_IV_LEN 16
+
+/* AES128-CBC */
+#define AES128_CBC_KEY_LEN 16
+
+/* AES192-CBC */
+#define AES192_CBC_KEY_LEN 24
+
+/* AES256-CBC */
+#define AES256_CBC_KEY_LEN 32
+
+/* AES-CBC common */
+#define AES_CTR_IV_LEN 16
+
+/* AES128-CTR */
+#define AES128_CTR_KEY_LEN 16
+
+/* AES192-CTR */
+#define AES192_CTR_KEY_LEN 24
+
+/* AES256-CTR */
+#define AES256_CTR_KEY_LEN 32
+
+/* AES-GCM common */
+#define AES_GCM_IV_LEN 12
+#define AES_GCM_DIGEST_LEN 16
+
+/* AES128-GCM */
+#define AES128_GCM_KEY_LEN 16
+
+/* AES192-GCM */
+#define AES192_GCM_KEY_LEN 24
+
+/* AES256-GCM */
+#define AES256_GCM_KEY_LEN 32
+
+/* HMAC-MD5 */
+#define HMAC_MD5_KEY_LEN 16
+#define HMAC_MD5_96_CHECK_LEN 12
+#define HMAC_MD5_CHECK_LEN 16
+
+/* HMAC-SHA256 */
+#define HMAC_SHA256_KEY_LEN 32
+#define HMAC_SHA256_128_CHECK_LEN 16
+#define HMAC_SHA256_CHECK_LEN 32
+
+/* HMAC-SHA1 */
+#define HMAC_SHA1_KEY_LEN 20
+#define HMAC_SHA1_96_CHECK_LEN 12
+#define HMAC_SHA1_CHECK_LEN 20
+
+/* HMAC-SHA512 */
+#define HMAC_SHA512_KEY_LEN 64
+#define HMAC_SHA512_256_CHECK_LEN 32
+#define HMAC_SHA512_CHECK_LEN 64
typedef struct crypto_test_reference_s {
uint32_t cipher_key_length;
similarity index 100%
rename from test/validation/api/errno/errno.c
rename to test/validation/api/errno.c
deleted file mode 100644
@@ -1 +0,0 @@
-errno_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = errno_main
-errno_main_SOURCES = errno.c
similarity index 100%
rename from test/validation/api/event/event.c
rename to test/validation/api/event.c
deleted file mode 100644
@@ -1 +0,0 @@
-event_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = event_main
-event_main_SOURCES = event.c
similarity index 100%
rename from test/validation/api/hash/hash.c
rename to test/validation/api/hash.c
deleted file mode 100644
@@ -1 +0,0 @@
-hash_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = hash_main
-hash_main_SOURCES = hash.c
deleted file mode 100644
@@ -1,3 +0,0 @@
-init_main_abort
-init_main_log
-init_main_ok
deleted file mode 100644
@@ -1,9 +0,0 @@
-include ../Makefile.inc
-
-# most platforms are expected not to support multiple ODP inits
-# following each other: therefore 3 separate binaries are
-# created, each containing its ODP init test.
-test_PROGRAMS = init_main_abort init_main_log init_main_ok
-init_main_abort_SOURCES = init_main_abort.c
-init_main_log_SOURCES = init_main_log.c
-init_main_ok_SOURCES = init_main_ok.c
similarity index 100%
rename from test/validation/api/init/init_main_abort.c
rename to test/validation/api/init_main_abort.c
similarity index 100%
rename from test/validation/api/init/init_main_log.c
rename to test/validation/api/init_main_log.c
similarity index 100%
rename from test/validation/api/init/init_main_ok.c
rename to test/validation/api/init_main_ok.c
similarity index 99%
rename from test/validation/api/ipsec/ipsec.c
rename to test/validation/api/ipsec.c
@@ -12,7 +12,7 @@
#include "ipsec.h"
-#include "test_vectors.h"
+#include "ipsec_test_vectors.h"
struct suite_context_s suite_context;
similarity index 100%
rename from test/validation/api/ipsec/ipsec.h
rename to test/validation/api/ipsec.h
similarity index 100%
rename from test/validation/api/ipsec/ipsec_async.c
rename to test/validation/api/ipsec_async.c
similarity index 100%
rename from test/validation/api/ipsec/ipsec_inline_in.c
rename to test/validation/api/ipsec_inline_in.c
similarity index 100%
rename from test/validation/api/ipsec/ipsec_inline_out.c
rename to test/validation/api/ipsec_inline_out.c
similarity index 100%
rename from test/validation/api/ipsec/ipsec_sync.c
rename to test/validation/api/ipsec_sync.c
similarity index 99%
rename from test/validation/api/ipsec/ipsec_test_in.c
rename to test/validation/api/ipsec_test_in.c
@@ -8,7 +8,7 @@
#include "ipsec.h"
-#include "test_vectors.h"
+#include "ipsec_test_vectors.h"
static void test_in_ipv4_ah_sha256(void)
{
similarity index 99%
rename from test/validation/api/ipsec/ipsec_test_out.c
rename to test/validation/api/ipsec_test_out.c
@@ -8,7 +8,7 @@
#include "ipsec.h"
-#include "test_vectors.h"
+#include "ipsec_test_vectors.h"
static void test_out_ipv4_ah_sha256(void)
{
similarity index 100%
rename from test/validation/api/ipsec/test_vectors.h
rename to test/validation/api/ipsec_test_vectors.h
similarity index 100%
rename from test/validation/api/lock/lock.c
rename to test/validation/api/lock.c
deleted file mode 100644
@@ -1 +0,0 @@
-lock_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = lock_main
-lock_main_SOURCES = lock.c
similarity index 100%
rename from test/validation/api/packet/packet.c
rename to test/validation/api/packet.c
deleted file mode 100644
@@ -1 +0,0 @@
-packet_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = packet_main
-packet_main_SOURCES = packet.c
similarity index 100%
rename from test/validation/api/pool/pool.c
rename to test/validation/api/pool.c
deleted file mode 100644
@@ -1 +0,0 @@
-pool_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = pool_main
-pool_main_SOURCES = pool.c
similarity index 100%
rename from test/validation/api/queue/queue.c
rename to test/validation/api/queue.c
deleted file mode 100644
@@ -1 +0,0 @@
-queue_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = queue_main
-queue_main_SOURCES = queue.c
similarity index 100%
rename from test/validation/api/random/random.c
rename to test/validation/api/random.c
deleted file mode 100644
@@ -1 +0,0 @@
-random_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = random_main
-random_main_SOURCES = random.c
similarity index 100%
rename from test/validation/api/scheduler/scheduler.c
rename to test/validation/api/scheduler.c
deleted file mode 100644
@@ -1 +0,0 @@
-scheduler_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = scheduler_main
-scheduler_main_SOURCES = scheduler.c
similarity index 100%
rename from test/validation/api/shmem/shmem.c
rename to test/validation/api/shmem.c
deleted file mode 100644
@@ -1 +0,0 @@
-shmem_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = shmem_main
-shmem_main_SOURCES = shmem.c
similarity index 100%
rename from test/validation/api/std_clib/std_clib.c
rename to test/validation/api/std_clib.c
deleted file mode 100644
@@ -1 +0,0 @@
-std_clib_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = std_clib_main
-std_clib_main_SOURCES = std_clib.c
similarity index 100%
rename from test/validation/api/system/system.c
rename to test/validation/api/system.c
deleted file mode 100644
@@ -1 +0,0 @@
-system_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = system_main
-system_main_SOURCES = system.c
similarity index 99%
rename from test/validation/api/thread/thread.c
rename to test/validation/api/thread.c
@@ -6,6 +6,7 @@
#include "config.h"
+#define TEST_THRMASK
#include <odp_api.h>
#include <odp_cunit_common.h>
#include <mask_common.h>
deleted file mode 100644
@@ -1 +0,0 @@
-thread_main
deleted file mode 100644
@@ -1,6 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = thread_main
-thread_main_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_THRMASK
-thread_main_SOURCES = thread.c
-LDADD += $(LIBTHRMASK_COMMON)
similarity index 100%
rename from test/validation/api/time/time.c
rename to test/validation/api/time.c
deleted file mode 100644
@@ -1 +0,0 @@
-time_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = time_main
-time_main_SOURCES = time.c
similarity index 100%
rename from test/validation/api/timer/timer.c
rename to test/validation/api/timer.c
deleted file mode 100644
@@ -1 +0,0 @@
-timer_main
deleted file mode 100644
@@ -1,4 +0,0 @@
-include ../Makefile.inc
-
-test_PROGRAMS = timer_main
-timer_main_SOURCES = timer.c