diff mbox

[2/2] test: Display implementation version

Message ID 1416247037-13357-2-git-send-email-mike.holmes@linaro.org
State Rejected
Headers show

Commit Message

Mike Holmes Nov. 17, 2014, 5:57 p.m. UTC
Update the tests to indicate the implementation version string during execution

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 test/cunit/odp_init.c  | 1 +
 test/cunit/odp_queue.c | 4 ++++
 2 files changed, 5 insertions(+)
diff mbox

Patch

diff --git a/test/cunit/odp_init.c b/test/cunit/odp_init.c
index 88e6235..0727227 100644
--- a/test/cunit/odp_init.c
+++ b/test/cunit/odp_init.c
@@ -23,6 +23,7 @@  static void test_odp_init_global(void)
 static int init(void)
 {
 	printf("\tODP version: %s\n", odp_version_api_str());
+	printf("\tODP implementation: %s\n", odp_version_impl_str());
 	return 0;
 }
 
diff --git a/test/cunit/odp_queue.c b/test/cunit/odp_queue.c
index 4d233e0..b1b8d81 100644
--- a/test/cunit/odp_queue.c
+++ b/test/cunit/odp_queue.c
@@ -107,6 +107,10 @@  static void test_odp_queue_sunnyday(void)
 
 static int init(void)
 {
+
+	printf("\tODP version: %s\n", odp_version_api_str());
+	printf("\tODP implementation: %s\n", odp_version_impl_str());
+
 	if (0 != odp_init_global(NULL, NULL)) {
 		printf("odp_init_global fail.\n");
 		return -1;