zephyr/tests
Inaky Perez-Gonzalez 3ad37fbebc tc_util: protect macro arg expansion
Calling TC_END_REPORT(complex_expression) might have side effects when
complex_expression is later put inside (result == TC_PASS? A : B)
evaluation, because result will be replaced verbatim.

To avoid operator assignment order changing things, protect
replacement of result by adding parenthesis.

Change-Id: I8fd07d97d4b49b4cd48a1c6ad345bf49fb2537b5
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-10-28 15:40:37 +00:00
..
benchmark tests/benchmark/latency_measure: use TC_PRINT_RUNID when reporting success 2016-10-19 14:29:09 +00:00
bluetooth Bluetooth: SDP: Shorten Service Class macro name 2016-10-21 07:47:31 +03:00
booting/stub tests: move quark_se boot stub to tests 2016-10-27 22:14:53 +00:00
compliance testcases: sample static testcase to run checkpatch on the source 2016-06-14 23:49:57 +00:00
crypto test: test_hmac: cleanup excludes 2016-10-27 22:13:36 +00:00
drivers tests: Add FXOS8700 sensor to driver build_all test. 2016-10-28 10:54:45 +00:00
filesystem/fat_fs sample: fs: Fix a compile error flagged by llvm 2016-10-04 12:27:39 +00:00
include tc_util: protect macro arg expansion 2016-10-28 15:40:37 +00:00
kernel kernel: merge _IS_IN_ISR() with _is_in_isr() 2016-10-27 21:45:03 +00:00
net iot/zoap: Add unit tests for block-wise transfers 2016-10-25 12:56:51 +00:00
unit tests: Add gcov support 2016-09-30 21:17:42 +00:00
ztest ztest: Add simple integration and unit tests 2016-09-30 21:17:41 +00:00
defaults.tc testcases: introduce defaults to build/deploy/evaluate 2016-07-23 18:31:18 +00:00
Kconfig tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00
Makefile tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00
Makefile.test tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00