Support for combine tests archive
diff --git a/api-tests/val/common/val.h b/api-tests/val/common/val.h
index 04e67bf..de9cd8c 100644
--- a/api-tests/val/common/val.h
+++ b/api-tests/val/common/val.h
@@ -52,6 +52,9 @@
#define FALSE 1
#endif
+#define _CONCAT(A,B) A##B
+#define CONCAT(A,B) _CONCAT(A,B)
+
/* test status defines */
#define TEST_START 0x01
#define TEST_END 0x02
@@ -87,7 +90,7 @@
/* Test Defines */
#define TEST_PUBLISH(test_id, entry) \
- const val_test_info_t __attribute__((section(".acs_test_info"))) acs_test_info = {test_id, entry}
+ const val_test_info_t __attribute__((section(".acs_test_info"))) CONCAT(acs_test_info, entry) = {test_id, entry}
#define VAL_MAX_TEST_PER_COMP 200
#define VAL_FF_BASE 0