[posix] use real time signal for microsecond timer (#5122)

This commit is contained in:
Yakun Xu
2020-06-19 16:12:55 -07:00
committed by GitHub
parent b66ac5d907
commit 8248c3d9df
11 changed files with 160 additions and 35 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ readonly VIRTUAL_TIME="${VIRTUAL_TIME:-1}"
build_simulation()
{
local version="$1"
local options=("-DOT_THREAD_VERSION=${version}")
local options=("-DOT_THREAD_VERSION=${version}" "-DBUILD_TESTING=ON")
if [[ ${version} == "1.2" ]]; then
options+=("-DOT_DUA=ON")
@@ -82,7 +82,7 @@ build_simulation()
build_posix()
{
local version="$1"
local options=("-DOT_THREAD_VERSION=${version}")
local options=("-DOT_THREAD_VERSION=${version}" "-DBUILD_TESTING=ON")
if [[ ${version} == "1.2" ]]; then
options+=("-DOT_DUA=ON")