zephyr/tests/include
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
..
tc_nano_timeout_common.h move include directory for tests cases to tests/ 2016-02-11 18:08:08 +00:00
tc_util.h tc_util: protect macro arg expansion 2016-10-28 15:40:37 +00:00
test_ecc_utils.h tinycrypt: Add test case for the ECC DSA algorithm 2016-09-20 12:54:21 +00:00
test_utils.h move include directory for tests cases to tests/ 2016-02-11 18:08:08 +00:00
util_test_common.h move include directory for tests cases to tests/ 2016-02-11 18:08:08 +00:00