aboutsummaryrefslogtreecommitdiffstats
path: root/test/testheap.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-05-04 12:31:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-05-04 12:31:05 +0000
commitbc9d319ddb279f973404c2b1abf15ec1091bd891 (patch)
tree1d66cd2898724e9e582332da57f8d863ad8b11a7 /test/testheap.c
parent0074052e3f64b2166258f2d117faf8acdf5d4566 (diff)
downloadChibiOS-bc9d319ddb279f973404c2b1abf15ec1091bd891.tar.gz
ChibiOS-bc9d319ddb279f973404c2b1abf15ec1091bd891.tar.bz2
ChibiOS-bc9d319ddb279f973404c2b1abf15ec1091bd891.zip
Improved code coverage.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1902 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testheap.c')
-rw-r--r--test/testheap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testheap.c b/test/testheap.c
index 2f4998be6..eb81f77ed 100644
--- a/test/testheap.c
+++ b/test/testheap.c
@@ -78,6 +78,9 @@ static void heap1_execute(void) {
void *p1, *p2, *p3;
size_t n, sz;
+ /* Unrelated, for coverage only.*/
+ (void)chCoreStatus();
+
/*
* Test on the default heap in order to cover the core allocator at
* least one time.