summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/include/tests/test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/include/tests/test.h b/tests/include/tests/test.h
index ceb965462e..0acc282e4b 100644
--- a/tests/include/tests/test.h
+++ b/tests/include/tests/test.h
@@ -26,6 +26,7 @@
* Create end symbol for it.
*/
#define TEST_REGION(region, size) uint8_t _##region[size]; \
- TEST_SYMBOL(_e##region, _##region + size)
+ TEST_SYMBOL(_e##region, _##region + size); \
+ TEST_SYMBOL(_##region##_size, size)
#endif /* _TESTS_TEST_H */