Feature/zephyr ztest (#118)

* Leverage (older) embedded unit tests into external unit tests build upon copy of Zephyr's ztest library and CMake.

* Expand top-level CMake build to run external unit tests.

* Expand Zephyr module extension to run external unit tests via west or sanitycheck.

Co-authored-by: Gregory Shue <gregory.shue@legrand.us>
This commit is contained in:
Greg Shue
2020-09-16 05:33:34 -07:00
committed by GitHub
parent a7b2e94cb7
commit 19869dccdb
399 changed files with 21885 additions and 5 deletions
+2 -1
View File
@@ -1132,7 +1132,8 @@ int bacapp_snprintf_value(
wc = L'.';
}
}
snprintf(temp_str, sizeof(temp_str), "%lc", wc);
/* For portability, cast wchar_t to wint_t */
snprintf(temp_str, sizeof(temp_str), "%lc", (wint_t)wc);
if (!append_str(&p_str, &rem_str_len, temp_str)) {
break;
}