[tests] add build test for OT_ASSERT=OFF (#5333)

This commit adds a build test without OT_ASSERT to catch compile issues.
- Add cmake option: OT_ASSERT=ON
- Add build test with OT_ASSERT=OFF
- Fixes 2 compile errors.
This commit is contained in:
Simon Lin
2020-08-05 21:29:28 -07:00
committed by GitHub
parent b9040673c9
commit 36926a610a
4 changed files with 11 additions and 1 deletions
+2
View File
@@ -42,6 +42,8 @@ build_all_features()
"$(dirname "$0")"/cmake-build simulation
reset_source
"$(dirname "$0")"/cmake-build simulation -DOT_OTNS=ON -DOT_SIMULATION_VIRTUAL_TIME=ON
reset_source
"$(dirname "$0")"/cmake-build simulation -DOT_OTNS=ON -DOT_SIMULATION_VIRTUAL_TIME=ON -DOT_ASSERT=OFF
}
build_toranj()