aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-28 10:38:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-28 10:38:32 +0000
commitd2b17bc167b6168c31ab478a339413d207b51800 (patch)
treeded4a2d30b0c92467cec2d1055a3463f8085c0ac /test
parenteb75c053eb46cbeb4ad9c0b7b179ba1acb20eba4 (diff)
downloadChibiOS-d2b17bc167b6168c31ab478a339413d207b51800.tar.gz
ChibiOS-d2b17bc167b6168c31ab478a339413d207b51800.tar.bz2
ChibiOS-d2b17bc167b6168c31ab478a339413d207b51800.zip
Added the const attribute to the test pattern arrays.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@805 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r--test/testbmk.c2
-rw-r--r--test/testcond.c2
-rw-r--r--test/testdyn.c2
-rw-r--r--test/testevt.c2
-rw-r--r--test/testheap.c2
-rw-r--r--test/testmbox.c2
-rw-r--r--test/testmsg.c2
-rw-r--r--test/testmtx.c2
-rw-r--r--test/testpools.c2
-rw-r--r--test/testrdy.c2
-rw-r--r--test/testsem.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index 10a4ea439..76ca641be 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -416,7 +416,7 @@ const struct testcase testbmk10 = {
/*
* Test sequence for benchmarks pattern.
*/
-const struct testcase *patternbmk[] = {
+const struct testcase * const patternbmk[] = {
#if !TEST_NO_BENCHMARKS
&testbmk1,
&testbmk2,
diff --git a/test/testcond.c b/test/testcond.c
index 692ec88d2..dff5d2c29 100644
--- a/test/testcond.c
+++ b/test/testcond.c
@@ -104,7 +104,7 @@ const struct testcase testcond2 = {
/*
* Test sequence for condvars pattern.
*/
-const struct testcase *patterncond[] = {
+const struct testcase * const patterncond[] = {
#if CH_USE_CONDVARS && CH_USE_MUTEXES
&testcond1,
&testcond2,
diff --git a/test/testdyn.c b/test/testdyn.c
index 775e3c795..3653e7299 100644
--- a/test/testdyn.c
+++ b/test/testdyn.c
@@ -130,7 +130,7 @@ const struct testcase testdyn2 = {
/*
* Test sequence for dynamic APIs pattern.
*/
-const struct testcase *patterndyn[] = {
+const struct testcase * const patterndyn[] = {
#if CH_USE_DYNAMIC
#if CH_USE_HEAP
&testdyn1,
diff --git a/test/testevt.c b/test/testevt.c
index 7af8b7b73..192c6e6be 100644
--- a/test/testevt.c
+++ b/test/testevt.c
@@ -103,7 +103,7 @@ const struct testcase testevt1 = {
/*
* Test sequence for events pattern.
*/
-const struct testcase *patternevt[] = {
+const struct testcase * const patternevt[] = {
#if CH_USE_EVENTS
&testevt1,
#endif
diff --git a/test/testheap.c b/test/testheap.c
index 0a84b7b33..a72bad6bb 100644
--- a/test/testheap.c
+++ b/test/testheap.c
@@ -79,7 +79,7 @@ const struct testcase testheap1 = {
/*
* Test sequence for heap pattern.
*/
-const struct testcase *patternheap[] = {
+const struct testcase * const patternheap[] = {
#if CH_USE_HEAP
&testheap1,
#endif
diff --git a/test/testmbox.c b/test/testmbox.c
index 7ab3f6126..4a548105c 100644
--- a/test/testmbox.c
+++ b/test/testmbox.c
@@ -93,7 +93,7 @@ const struct testcase testmbox1 = {
/*
* Test sequence for mailboxes pattern.
*/
-const struct testcase *patternmbox[] = {
+const struct testcase * const patternmbox[] = {
#if CH_USE_MAILBOXES && CH_USE_SEMAPHORES_TIMEOUT
&testmbox1,
#endif
diff --git a/test/testmsg.c b/test/testmsg.c
index 8af1c29e3..69f1461e1 100644
--- a/test/testmsg.c
+++ b/test/testmsg.c
@@ -65,7 +65,7 @@ const struct testcase testmsg1 = {
/*
* Test sequence for messages pattern.
*/
-const struct testcase *patternmsg[] = {
+const struct testcase * const patternmsg[] = {
#if CH_USE_MESSAGES
&testmsg1,
#endif
diff --git a/test/testmtx.c b/test/testmtx.c
index 685361bba..e08aab5be 100644
--- a/test/testmtx.c
+++ b/test/testmtx.c
@@ -218,7 +218,7 @@ const struct testcase testmtx3 = {
/*
* Test sequence for mutexes pattern.
*/
-const struct testcase *patternmtx[] = {
+const struct testcase * const patternmtx[] = {
#if CH_USE_MUTEXES
&testmtx1,
&testmtx2,
diff --git a/test/testpools.c b/test/testpools.c
index 759a28c44..9479926d8 100644
--- a/test/testpools.c
+++ b/test/testpools.c
@@ -62,7 +62,7 @@ const struct testcase testpools1 = {
/*
* Test sequence for pools pattern.
*/
-const struct testcase *patternpools[] = {
+const struct testcase * const patternpools[] = {
#if CH_USE_MEMPOOLS
&testpools1,
#endif
diff --git a/test/testrdy.c b/test/testrdy.c
index b085fde02..d35b783c4 100644
--- a/test/testrdy.c
+++ b/test/testrdy.c
@@ -76,7 +76,7 @@ const struct testcase testrdy2 = {
/*
* Test sequence for ready list pattern.
*/
-const struct testcase *patternrdy[] = {
+const struct testcase * const patternrdy[] = {
&testrdy1,
&testrdy2,
NULL
diff --git a/test/testsem.c b/test/testsem.c
index 35e37d965..4f2943964 100644
--- a/test/testsem.c
+++ b/test/testsem.c
@@ -105,7 +105,7 @@ const struct testcase testsem2 = {
/*
* Test sequence for semaphores pattern.
*/
-const struct testcase *patternsem[] = {
+const struct testcase * const patternsem[] = {
#if CH_USE_SEMAPHORES
&testsem1,
#if CH_USE_SEMAPHORES_TIMEOUT