COSE: Rename test executor function

In order to avoid name collision among QCBOR and T_COSE
test executor function.

Change-Id: I9e7d90de37c8c24c0f5e6029aabfee3ed6832603
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/lib/ext/t_cose/test/run_tests.c b/lib/ext/t_cose/test/run_tests.c
index cda62a7..8f65e0e 100644
--- a/lib/ext/t_cose/test/run_tests.c
+++ b/lib/ext/t_cose/test/run_tests.c
@@ -1,7 +1,7 @@
 /*==============================================================================
  run_tests.c -- test aggregator and results reporting
 
- Copyright (c) 2018-2019, Laurence Lundblade. All rights reserved.
+ Copyright (c) 2018-2020, Laurence Lundblade. All rights reserved.
 
  SPDX-License-Identifier: BSD-3-Clause
 
@@ -126,10 +126,10 @@
 /*
  Public function. See run_test.h.
  */
-int RunTests(const char    *szTestNames[],
-             OutputStringCB pfOutput,
-             void          *poutCtx,
-             int           *pNumTestsRun)
+int RunTestsTCose(const char    *szTestNames[],
+                  OutputStringCB pfOutput,
+                  void          *poutCtx,
+                  int           *pNumTestsRun)
 {
     int nTestsFailed = 0;
     int nTestsRun = 0;
@@ -271,7 +271,7 @@
 /*
  Public function. See run_test.h.
  */
-void PrintSizes(OutputStringCB pfOutput, void *pOutCtx)
+void PrintSizesTCose(OutputStringCB pfOutput, void *pOutCtx)
 {
    // Type and size of return from sizeof() varies. These will never be large
    // so cast is safe.
diff --git a/lib/ext/t_cose/test/run_tests.h b/lib/ext/t_cose/test/run_tests.h
index ba1b682..1fa4975 100644
--- a/lib/ext/t_cose/test/run_tests.h
+++ b/lib/ext/t_cose/test/run_tests.h
@@ -1,7 +1,7 @@
 /*==============================================================================
  run_tests.h -- test aggregator and results reporting
 
- Copyright (c) 2018-2019, Laurence Lundblade. All rights reserved.
+ Copyright (c) 2018-2020, Laurence Lundblade. All rights reserved.
 
  SPDX-License-Identifier: BSD-3-Clause
 
@@ -43,7 +43,7 @@
 
 
 /**
- @brief Runs the QCBOR tests.
+ @brief Runs the T_COSE tests.
 
  @param[in]  szTestNames    An argv-style list of test names to run. If
                             empty, all are run.
@@ -53,10 +53,10 @@
 
  @return The number of tests that failed. Zero means overall success.
  */
-int RunTests(const char    *szTestNames[],
-             OutputStringCB pfOutput,
-             void          *pOutCtx,
-             int           *pNumTestsRun);
+int RunTestsTCose(const char    *szTestNames[],
+                  OutputStringCB pfOutput,
+                  void          *pOutCtx,
+                  int           *pNumTestsRun);
 
 
 /**
@@ -65,5 +65,5 @@
  @param[in] pfOutput     Function that is called to output text strings.
  @param[in] pOutCtx      Context pointer passed to output function.
  */
-void PrintSizes(OutputStringCB pfOutput, void *pOutCtx);
+void PrintSizesTCose(OutputStringCB pfOutput, void *pOutCtx);