+void
+ut_version_print(void)
+{
+ char sysversion[100];
+ char *compilation_date = (char *)__DATE__;
+ char *compilation_time = (char *)__TIME__;
+ char compiler[100];
+
+ //snprintf(sysversion, 99, "Version: %s", VERSIONX);
+
+#if defined(__clang__)
+ snprintf(compiler, 99, "family clang: %s", __clang_version__);
+#elif defined(__ICC) || defined(__INTEL_COMPILER)
+ snprintf(compiler, 99, "family icc: version %d", __INTEL_COMPILER);
+#elif defined(__INTEL_LLVM_COMPILER)
+ snprintf(compiler, 99, "family icx: version %d", __INTEL_LLVM_COMPILER);
+#elif defined(__GNUC__) || defined(__GNUG__)
+ snprintf(compiler, 99, "family gcc: version %d.%d.%d", __GNUC__, __GNUC_MINOR__,__GNUC_PATCHLEVEL__);
+#endif
+
+ printf("\n\n");
+ printf("===========================================================================================================\n");
+ printf("UNITTESTS VERSION\n");
+ printf("===========================================================================================================\n");
+
+ //printf("%s\n", sysversion);
+ printf("build-date: %s\n", compilation_date);
+ printf("build-time: %s\n", compilation_time);
+ printf("build-with: %s\n", compiler);
+}
+